idea for cash flow linkage. makes invoices use uri parameters.
This commit is contained in:
@@ -11,9 +11,7 @@
|
||||
|
||||
(defn- dispatch-route [matched-route]
|
||||
(println "Matched route" matched-route)
|
||||
(re-frame/dispatch [:auto-ap.events/set-active-page (:handler matched-route) (->> (:query (url (.-location js/window)))
|
||||
(map (fn [[k v]] [(keyword k) v]))
|
||||
(into {}))]))
|
||||
(re-frame/dispatch [:auto-ap.events/set-active-page (:handler matched-route) (auto-ap.views.utils/query-params)]))
|
||||
|
||||
|
||||
(def history (pushy/pushy dispatch-route parse-url))
|
||||
|
||||
Reference in New Issue
Block a user