mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
97 lines
No EOL
2 KiB
JavaScript
97 lines
No EOL
2 KiB
JavaScript
FlowRouter.route('/dashboard', {
|
|
name: 'home',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: "dashboard" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/', {
|
|
name: 'homeNoRoute',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: "dashboard" });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/', {
|
|
name: 'homeNotLoggedIn',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { notLoggedIn: "login" });
|
|
}
|
|
});
|
|
|
|
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' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manageStore', {
|
|
name: 'storeMgmt',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'storeMgmt' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manage', {
|
|
name: 'mgmtPage',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'mgmtPage' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manageProduct', {
|
|
name: 'manageProduct',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'prodMgmt' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manageCategory', {
|
|
name: 'manageCategory',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'catMgmt' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manageLocation', {
|
|
name: 'manageLocation',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'locMgmt' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/manageLists', {
|
|
name: 'manageLists',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'listMgmt' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/mylists', {
|
|
name: 'mylists',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'listsMain' });
|
|
}
|
|
});
|
|
|
|
FlowRouter.route('/listItems', {
|
|
name: 'listItems',
|
|
action() {
|
|
BlazeLayout.render('MainLayout', { main: 'listItemsMain' });
|
|
}
|
|
}); |