It's getting a bit unwieldy to constantly be defining ad-hoc routes downstream. Introduce a cms-defaults ns that returns a configurable route tree like:
(cms-defaults/route-tree {:protected-root "/~" :unprotected-root "/_" :theme 'systems.bread.alpha.cms.theme.rise})
;; =>
["/"
["" {:dispatcher/type ::i18n/lang=>}]
["~"
["/login"
{:name :login :dispatcher/type ::auth/login=> :dispatcher/component #'rise/LoginPage}]
["/account"
{:name :account :dispatcher/type ::account/account=> :dispatcher/component #'rise/AccountPage}]]
["_"
["/forgot"
{:name :forgot-password,,,}]
["/reset"
{:name :reset-password,,,}]
,,,]]
It's getting a bit unwieldy to constantly be defining ad-hoc routes downstream. Introduce a
cms-defaultsns that returns a configurable route tree like: