diff options
author | Nico <paetni1@gmail.com> | 2020-04-12 00:56:35 +0200 |
---|---|---|
committer | Nico <paetni1@gmail.com> | 2020-04-12 00:56:35 +0200 |
commit | edf52bc4382823ed8768251954371094a849213e (patch) | |
tree | cf84fa1216ac5001df2204790d299ad5b8f0d1f4 /config | |
parent | 8f28a409c7dd90319f785e3fc4c1b26803f67f31 (diff) | |
download | wekan-edf52bc4382823ed8768251954371094a849213e.tar.gz wekan-edf52bc4382823ed8768251954371094a849213e.tar.bz2 wekan-edf52bc4382823ed8768251954371094a849213e.zip |
Public boards overview
Diffstat (limited to 'config')
-rw-r--r-- | config/router.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js index ad76035b..2e66c67f 100644 --- a/config/router.js +++ b/config/router.js @@ -26,6 +26,27 @@ FlowRouter.route('/', { }, }); +FlowRouter.route('/public', { + name: 'public', + triggersEnter: [AccountsTemplates.ensureSignedIn], + action() { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + + Utils.manageCustomUI(); + Utils.manageMatomo(); + + BlazeLayout.render('defaultLayout', { + headerBar: 'boardListHeaderBar', + content: 'boardList', + }); + }, +}); + FlowRouter.route('/b/:id/:slug', { name: 'board', action(params) { |