Skip to content

Commit

Permalink
Add routing for DM screens ("campaigns")
Browse files Browse the repository at this point in the history
Refs #69
  • Loading branch information
dhleong committed Nov 17, 2018
1 parent 1189cc8 commit 4694393
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cljs/wish/routes.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
(defroute "/" []
(navigate! :home))

(defroute "/campaigns" []
(navigate! :campaign-browser))

(defroute "/campaigns/new" []
(navigate! :new-campaign))

(defroute #"/campaigns/([a-z0-9-]+/[^/]+)" [id]
(navigate! :campaign (keyword id)))

(defroute "/sheets" []
(navigate! :sheet-browser))

Expand Down

0 comments on commit 4694393

Please sign in to comment.