Recoded it to not use the editor for the Second Chance page. The editor was not able to handle a download link (the link failed to work without a page refresh after clicking, and the download property of the link could not be set).
This commit is contained in:
@@ -76,13 +76,6 @@ 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) {
|
||||
@@ -203,8 +196,8 @@ pub.route("/News", {
|
||||
pub.route("/SecondChance", {
|
||||
name: 'SecondChance',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
require("/imports/ui/SecondChance.js");
|
||||
BlazeLayout.render("Public", {content: "SecondChance"});
|
||||
}
|
||||
});
|
||||
pub.route("/PhotoGallery", {
|
||||
|
||||
Reference in New Issue
Block a user