Add support for nil and keywords as url parameters.

This commit is contained in:
Andrey Antukh
2016-09-22 22:28:51 +03:00
parent 632fccec5d
commit ec04fccf0c

View File

@@ -124,6 +124,13 @@
["/dashboard/colors" :dashboard/colors]
["/workspace/:project/:page" :workspace/page]])
(extend-protocol bc/IPathRepr
nil
(-repr [it] "")
cljs.core.Keyword
(-repr [it] (name it)))
;; --- Main Entry Point
(defn init-routes