Changes that did not get committed. Not sure why.
This commit is contained in:
@@ -211,4 +211,16 @@ pub.route("/CurrentBoard", {
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
|
||||
// Fix stale routes in Google's search index from old site. Redirect to home.
|
||||
pub.route('/!/*', {
|
||||
action: function(params, queryParams) {
|
||||
FlowRouter.go("/");
|
||||
}
|
||||
});
|
||||
pub.route('/!', {
|
||||
action: function(params, queryParams) {
|
||||
FlowRouter.go("/");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user