moved to new date picker.
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
[cemerick.url :refer [url]]
|
||||
[re-frame.core :as re-frame]))
|
||||
|
||||
(defn- parse-url [url]
|
||||
(defn parse-url [url]
|
||||
(println "parsing url" url)
|
||||
(bidi/match-route routes/routes url))
|
||||
|
||||
(defn- dispatch-route [matched-route]
|
||||
(defn dispatch-route [matched-route]
|
||||
(println "Matched route" matched-route)
|
||||
(re-frame/dispatch [:auto-ap.events/set-active-route (:handler matched-route) (u/query-params) (:route-params matched-route)]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user