mirror of
https://github.com/penpot/penpot.git
synced 2025-07-04 15:17:16 +02:00
Add support for nil
and keywords as url parameters.
This commit is contained in:
parent
632fccec5d
commit
ec04fccf0c
1 changed files with 7 additions and 0 deletions
|
@ -124,6 +124,13 @@
|
||||||
["/dashboard/colors" :dashboard/colors]
|
["/dashboard/colors" :dashboard/colors]
|
||||||
["/workspace/:project/:page" :workspace/page]])
|
["/workspace/:project/:page" :workspace/page]])
|
||||||
|
|
||||||
|
(extend-protocol bc/IPathRepr
|
||||||
|
nil
|
||||||
|
(-repr [it] "")
|
||||||
|
|
||||||
|
cljs.core.Keyword
|
||||||
|
(-repr [it] (name it)))
|
||||||
|
|
||||||
;; --- Main Entry Point
|
;; --- Main Entry Point
|
||||||
|
|
||||||
(defn init-routes
|
(defn init-routes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue