-
-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of bad/unknown urls #84
Comments
i think we can implement a 404 template. there must be a ironrouter/meteor common practice for this? |
We recently migrated to FlowRouter/Blaze in our main project at work. Here is an example of our global 404 routing rule: // Define 404 route
FlowRouter.notFound = {
action: function() {
BlazeLayout.render('masterLayout', { main: 'notFound' });
}
}; |
Prior to that, our IronRouter global configuration looked like this: Router.configure({
layoutTemplate: 'masterLayout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound',
... |
Thanks @brylie, will start to work on this today |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I currently see:
The text was updated successfully, but these errors were encountered: