summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorThuan Pham Quoc <thuanpq.io@gmail.com>2017-11-07 14:01:27 +0700
committerThuan Pham Quoc <thuanpq.io@gmail.com>2017-11-07 14:01:27 +0700
commit29d54f46aa79a5f3fe067717fa418092e150eb47 (patch)
treed925f590fddaa50bbf87398a55f51088e44f04e9 /config
parent2d12a4f40473bd152755e4ab1dadb943cb233c90 (diff)
downloadwekan-29d54f46aa79a5f3fe067717fa418092e150eb47.tar.gz
wekan-29d54f46aa79a5f3fe067717fa418092e150eb47.tar.bz2
wekan-29d54f46aa79a5f3fe067717fa418092e150eb47.zip
Added people list in admin panel , just raw data right now, will add more features soon
Diffstat (limited to 'config')
-rw-r--r--config/router.js20
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' });