From e407eb9a8b91d1100315f2fcab2cf8d184957929 Mon Sep 17 00:00:00 2001 From: nztqa Date: Thu, 3 Aug 2017 09:24:40 +0900 Subject: Add display wekan version number and runtime environment --- config/router.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'config') diff --git a/config/router.js b/config/router.js index ea85c7e6..7f657820 100644 --- a/config/router.js +++ b/config/router.js @@ -120,6 +120,26 @@ FlowRouter.route('/setting', { }, }); +FlowRouter.route('/information', { + name: 'information', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], + action() { + BlazeLayout.render('defaultLayout', { + headerBar: 'settingHeaderBar', + content: 'information', + }); + }, +}); + FlowRouter.notFound = { action() { BlazeLayout.render('defaultLayout', { content: 'notFound' }); -- cgit v1.2.3-1-g7c22