mirror of
https://github.com/penpot/penpot.git
synced 2026-02-24 13:15:07 +00:00
Add support for nil and keywords as url parameters.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user