Meteor - iron-router not waiting on subscription data in onBeforeAction hook
问题 I want to set a Session variable ( artistNotAvailable ) when the requested artist is not available. Unfortunately, the route does not work, because it is not waiting on subscription data in my onBeforeAction hook. artistAvail and artist is undefined, but not because there is no artist in the DB, I think it is a subscription problem. I debugged it and calling Artists.find().fetch(); in the browsers console returned undefined . Here is my route: this.route('eventPage', { path: '/event/:slug/