mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
34 lines
No EOL
697 B
JavaScript
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' });
|
|
}
|
|
}); |