Changes that did not get committed. Not sure why.

This commit is contained in:
Wynne Crisman
2019-07-28 13:55:58 -07:00
parent 6fdaf93718
commit 3b1c57e47e
11 changed files with 278 additions and 147 deletions

View File

@@ -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("/");
}
});