Reputation: 874
I have a meteor website I want to render to the not found template if user enters the url which is not the part of my website or I have not configured.
I have used flow router for the routing process.
Please help me out. how to do that I am just a newbie in meteorjs
Upvotes: 0
Views: 26
Reputation: 100
you should try this
FlowRouter.route('/*',{
name: "routename",
action: function () {
BlazeLayout.render('layout', {
main: "templatename"
});
}
})
Upvotes: 0