2022-08-04 19:50:18 -05:00
|
|
|
FlowRouter.route('/', {
|
|
|
|
|
name: 'home',
|
|
|
|
|
action() {
|
|
|
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "home" });
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
FlowRouter.route('/dashboard', {
|
|
|
|
|
name: 'home',
|
|
|
|
|
action() {
|
|
|
|
|
BlazeLayout.render('MainLayout', { main: "dashboard" });
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
2022-08-05 16:55:56 -05:00
|
|
|
FlowRouter.route('/login', {
|
|
|
|
|
name: 'login',
|
2022-08-04 19:50:18 -05:00
|
|
|
action() {
|
2022-08-05 16:55:56 -05:00
|
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "login" });
|
2022-08-04 19:50:18 -05:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
2022-08-05 16:55:56 -05:00
|
|
|
FlowRouter.route('/reg', {
|
|
|
|
|
name: 'reg',
|
2022-08-04 19:50:18 -05:00
|
|
|
action() {
|
2022-08-05 16:55:56 -05:00
|
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "reg" });
|
2022-08-04 19:50:18 -05:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
2022-08-05 16:55:56 -05:00
|
|
|
FlowRouter.route('/userMgmt', {
|
|
|
|
|
name: 'userMgmt',
|
2022-08-04 19:50:18 -05:00
|
|
|
action() {
|
2022-08-05 16:55:56 -05:00
|
|
|
BlazeLayout.render('MainLayout', { main: 'userMgmt' });
|
2022-08-04 19:50:18 -05:00
|
|
|
}
|
|
|
|
|
});
|