Added Second Chance Scholarship; Needs some work to the wisiwig editor to allow download links.
This commit is contained in:
@@ -9,12 +9,14 @@ let pri = FlowRouter.group({
|
||||
});
|
||||
|
||||
//**** ADMIN
|
||||
//** These first two routes are the defaults that are used after logging in, or if the user types /admin or /Admin without a specific page.
|
||||
pri.route("/admin", {
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||
});
|
||||
pri.route("/Admin", {
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||
});
|
||||
//** The login pages...
|
||||
AccountsTemplates.configureRoute('signIn', {
|
||||
name: 'SignIn',
|
||||
path: '/Login'
|
||||
@@ -74,6 +76,13 @@ pri.route("/Admin/NewsEditor", {
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SecondChanceEditor", {
|
||||
name: "SecondChanceEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SlideshowEditor", {
|
||||
name: "SlideshowEditor",
|
||||
action: function(params, queryParams) {
|
||||
@@ -191,6 +200,13 @@ pub.route("/News", {
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/SecondChance", {
|
||||
name: 'SecondChance',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/PhotoGallery", {
|
||||
name: 'PhotoGallery',
|
||||
action: function(params, queryParams) {
|
||||
@@ -230,4 +246,4 @@ pub.route('/!', {
|
||||
action: function(params, queryParams) {
|
||||
FlowRouter.go("/");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user