mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
typo
This commit is contained in:
parent
f180204125
commit
7fcefdd428
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ Now, we can add routers to the router:
|
||||||
; ["/foo/bar/:id/:subid" {:handler #object[clojure.core$identity]}]]
|
; ["/foo/bar/:id/:subid" {:handler #object[clojure.core$identity]}]]
|
||||||
```
|
```
|
||||||
|
|
||||||
Router is recreated, so all the rules are fires:
|
Router is recreated, so all the rules are fired:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
(swap! router add-route ["/foo/:fail" identity])
|
(swap! router add-route ["/foo/:fail" identity])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue