mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-26 15:58:50 +00:00
73 lines
No EOL
1.6 KiB
JavaScript
73 lines
No EOL
1.6 KiB
JavaScript
FlowRouter.route('/', {
|
|
name: 'home',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "home" });
|
|
}
|
|
});
|
|
|
|
// ------- System Admin flows -----------
|
|
|
|
FlowRouter.route('/systemAdminReg', {
|
|
name: 'sysAdminReg',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminReg" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/sysAdminLogin', {
|
|
name: 'sysAdminLogin',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminLogin" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/adminMainLogin', {
|
|
name: 'sysAdminLogin',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminLogin" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/createServiceEntity', {
|
|
name: 'createServiceEntity',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: "createServiceEntity" });
|
|
}
|
|
});
|
|
|
|
// ------- General User Flows --------
|
|
|
|
FlowRouter.route('/dashboard', {
|
|
name: 'home',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: "dashboard" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/parguarlogin', {
|
|
name: 'parentLogin',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "parentLogin" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/parentReg', {
|
|
name: 'parentReg',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "parentsRegistration" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/teachlogin', {
|
|
name: 'teachLogin',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "teacherLogin" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/teachReg', {
|
|
name: 'teachReg',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "teacherRegistration" });
|
|
}
|
|
}); |