fix(routing) Stop defining Route in Meteor.startup
This commit is contained in:
parent
3d0f9e8973
commit
781f6039fa
@ -1,9 +1,6 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { Router } from 'meteor/iron:router';
|
||||
|
||||
Meteor.startup(() => {
|
||||
Router.route('/login', function() {
|
||||
this.layout('mainLayout', { data: {} });
|
||||
this.render('userLogin');
|
||||
}, { name: 'userLogin' });
|
||||
});
|
||||
Router.route('/login', function() {
|
||||
this.layout('mainLayout', { data: {} });
|
||||
this.render('userLogin');
|
||||
}, { name: 'userLogin' });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user