get_my/lib/routes.js

34 lines
697 B
JavaScript
Raw Normal View History

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" });
}
});
FlowRouter.route('/login', {
name: 'login',
2022-08-04 19:50:18 -05:00
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "login" });
2022-08-04 19:50:18 -05:00
}
});
FlowRouter.route('/reg', {
name: 'reg',
2022-08-04 19:50:18 -05:00
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "reg" });
2022-08-04 19:50:18 -05:00
}
});
FlowRouter.route('/userMgmt', {
name: 'userMgmt',
2022-08-04 19:50:18 -05:00
action() {
BlazeLayout.render('MainLayout', { main: 'userMgmt' });
2022-08-04 19:50:18 -05:00
}
});