Totally confused about this.next() in Meteor iron-router
问题 I upgraded to Meteor 1.0, installed the latest iron-router package, tried to run my app and got this nice warning in my console log: Route dispatch never rendered. Did you forget to call this.next() in an onBeforeAction? So I tried to modify my routes according to the new version. this.route('gamePage', { path: '/game/:slug/', onBeforeAction: [function() { this.subscribe('singlePlayer', this.params.slug).wait(); var singlePlayer = this.data(); if (singlePlayer) { if (singlePlayer.upgrade) {