Is anyone else getting the following error from Iron-Router since upgrading Meteor to version 1.0?
Please post here if you know how to resolve this issue.
Route dispatch never rendered. Did you forget to call
this.next()
in anonBeforeAction
?
Router.map(function () {
Router.route('profileShow', {
waitOn: function () {
if (Meteor.user()) {
Meteor.subscribe('userData');
} else {
this.next();
}
},
data: function () {
if (Meteor.user()) {
return {profile: Meteor.user().profile};
}
}
});
});