meteor-admin
meteor-admin copied to clipboard
waitOn called with params._id please?
I was looking at using the collection: waitOn option to wait for a different collection, but it was not possible to access this.params.id from the router. could you pass that into the waitOn function you call in the edit route creator? otherwise i don't see any way to access the :id from the route in the waitOn option.
thx
not used to coffee script but would this fix it?
both/startup.coffee:125 waitOn: -> Meteor.subscribe 'adminCollectionDoc', collectionName, parseID(@params._id) collection.routes?.edit?.waitOn(@params._id)