diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-11-19 01:45:58 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-11-19 01:45:58 +0200 |
commit | 0ea96fca3f9c4ca876b1f11969958b6fb0417420 (patch) | |
tree | a58f4dcd84018b907ead1246ef8eccd805bba231 /config/router.js | |
parent | 13d8e75c05cf8ed90c4b5d8ee5aadad0f9444b8f (diff) | |
parent | 75c5eeb0460889fb79ba2b963e18ea240d7253ca (diff) | |
download | wekan-0ea96fca3f9c4ca876b1f11969958b6fb0417420.tar.gz wekan-0ea96fca3f9c4ca876b1f11969958b6fb0417420.tar.bz2 wekan-0ea96fca3f9c4ca876b1f11969958b6fb0417420.zip |
Merge branch 'thuanpq-devel' into devel
User Admin to Admin Panel: List users.
Change: is user admin, name, fullname, email address, is user active.
Not changing password yet. Thanks to thuanpq and xet7 ! Related #802
Diffstat (limited to 'config/router.js')
-rw-r--r-- | config/router.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js index 7f657820..c86a92ac 100644 --- a/config/router.js +++ b/config/router.js @@ -140,6 +140,26 @@ FlowRouter.route('/information', { }, }); +FlowRouter.route('/people', { + name: 'people', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], + action() { + BlazeLayout.render('defaultLayout', { + headerBar: 'settingHeaderBar', + content: 'people', + }); + }, +}); + FlowRouter.notFound = { action() { BlazeLayout.render('defaultLayout', { content: 'notFound' }); |