mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Don't options using default values
This commit is contained in:
parent
d90b7cff04
commit
7e9ea8f905
2 changed files with 2 additions and 4 deletions
|
|
@ -84,8 +84,7 @@
|
|||
(swap! match (fn [old-match]
|
||||
(if new-match
|
||||
(assoc new-match :controllers (rfc/apply-controllers (:controllers old-match) new-match))))))
|
||||
{:use-fragment true
|
||||
:path-prefix "/"})
|
||||
{:use-fragment true})
|
||||
(r/render [current-page] (.getElementById js/document "app")))
|
||||
|
||||
(init!)
|
||||
|
|
|
|||
|
|
@ -62,8 +62,7 @@
|
|||
(defn init! []
|
||||
(rfe/start! routes
|
||||
(fn [m] (reset! match m))
|
||||
{:use-fragment true
|
||||
:path-prefix "/"})
|
||||
{:use-fragment true})
|
||||
(r/render [current-page] (.getElementById js/document "app")))
|
||||
|
||||
(init!)
|
||||
|
|
|
|||
Loading…
Reference in a new issue