fix: reorg routes

This commit is contained in:
Peng Xiao
2022-05-17 01:06:45 +08:00
parent eae267364a
commit a05ab09f89
11 changed files with 78 additions and 38 deletions

View File

@@ -55,6 +55,11 @@
:query-params {:anchor anchor}
:push push})))
(defn redirect-to-whiteboard!
[name]
(redirect! {:to :whiteboard
:path-params {:name (str name)}}))
(defn get-title
[name path-params]
(case name