Iron Router Multiple Data Context with Meteor
Here’s how to do it: Router.route(‘/things’, { name: ‘things’, waitOn: function () { return [this.subscribe(‘thing’),this.subscribe(‘thinga’)]; }, data: function () { […]
Here’s how to do it: Router.route(‘/things’, { name: ‘things’, waitOn: function () { return [this.subscribe(‘thing’),this.subscribe(‘thinga’)]; }, data: function () { […]
You must be logged in to post a comment.