duplicate r/routes output

Perhaps this is not needed as the same output is shown above close.
Or the `nil`s need to be removed to match actual output. See PR513 https://github.com/metosin/reitit/pull/513
This commit is contained in:
zengxinhui 2021-10-13 02:42:52 -04:00 committed by Juho Teperi
parent 9f798c63c9
commit 59f4bf285a

View file

@ -63,14 +63,6 @@ Route names:
; [:user/ping :user/user] ; [:user/ping :user/user]
``` ```
The compiled route tree:
```clj
(r/routes router)
; [["/api/ping" {:name :user/ping}]
; ["/api/user/:id" {:name :user/user}]]
```
### Composing ### Composing
As routes are defined as plain data, it's easy to merge multiple route trees into a single router As routes are defined as plain data, it's easy to merge multiple route trees into a single router