I am new to iron router and looking for a route equivalent of angular ui.router 'otherwise'. I was not able to find it in the documentation. What I need is, if I define the routes as:
Router.route('/', function(){
this.render('home');
});
Router.route('/signin', function(){
this.render('signin');
});
If anyone types a url other that '/' or '/signin' it should be redirected to default '/' url. Something which is done by
$urlRouterProvider.otherwise('/'); in angular.
Thanks