get_my/lib/routes.js
2022-08-05 16:55:56 -05:00

34 lines
No EOL
697 B
JavaScript

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',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "login" });
}
});
FlowRouter.route('/reg', {
name: 'reg',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "reg" });
}
});
FlowRouter.route('/userMgmt', {
name: 'userMgmt',
action() {
BlazeLayout.render('MainLayout', { main: 'userMgmt' });
}
});