diff options
author | lkisme <lkisme@me.com> | 2017-02-26 21:11:15 +0800 |
---|---|---|
committer | lkisme <lkisme@me.com> | 2017-02-26 21:11:15 +0800 |
commit | 39f2837838ba30ec02bfe9f33c9fa0dfca05d1a6 (patch) | |
tree | 775e276109af00cb42ee81c8aaa03903b38764da /config/router.js | |
parent | e3c3cc0d8df14c84852a854383efa1b4bb83f218 (diff) | |
download | wekan-39f2837838ba30ec02bfe9f33c9fa0dfca05d1a6.tar.gz wekan-39f2837838ba30ec02bfe9f33c9fa0dfca05d1a6.tar.bz2 wekan-39f2837838ba30ec02bfe9f33c9fa0dfca05d1a6.zip |
wording change, email sending optimization, add texts to i18n
Diffstat (limited to 'config/router.js')
-rw-r--r-- | config/router.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js index f136f8cc..72592bd6 100644 --- a/config/router.js +++ b/config/router.js @@ -101,6 +101,16 @@ FlowRouter.route('/import', { FlowRouter.route('/setting', { name: 'setting', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], action() { BlazeLayout.render('defaultLayout', { headerBar: 'settingHeaderBar', |