mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
initial commit
This commit is contained in:
parent
b7c7d8b449
commit
750811a81f
52 changed files with 25204 additions and 92 deletions
73
lib/routes.js
Normal file
73
lib/routes.js
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
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" });
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue