Added people list in admin panel , just raw data right now, will add more features soon

This commit is contained in:
Thuan Pham Quoc 2017-11-07 14:01:27 +07:00
parent 2d12a4f404
commit 29d54f46aa
6 changed files with 102 additions and 4 deletions

View file

@ -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' });