Multiple subscriptions in iron router
问题 I have been working on an application using a comment function. That results in having to subscribe to both a collection which the comments are made on and the comments collection itself. Now it looks like this: <template name="bookView"> {{> book}} {{> comments}} </template> this.route('book', { path: '/book/:_id', template: 'bookView', waitOn: function() { return Meteor.subscribe('book');}, action: function () { if (this.ready()){ this.render(); } else this.render('loadingTemplate'); },