Closed devdudeio closed 8 years ago
the new way is to define them separately, i.e.
Router.route('/', function () {
this.render('Home');
});
Router.route('/one', function () {
this.render('PageOne');
});
Router.route('/two', function () {
this.render('PageTwo');
});
Hi
my router.js looks like:
(offtopic: no clue whats wrong with my markdown here)
it looks like the
map() function
is deprecated. what is the new name ofmap()
? Or how I have to replace it?