I have a helper that is being picked up within a template loop. What it does is it gets a specific detail from the server (db)
videoCreator: -> Meteor.call 'getVideoCreator', id, (error, result) -> Session.set 'video', result Session.get (result)
(can’t figure out how to indent) But basically what it does is it tries to get the result from the database. However, this is being run on a template loop. And looks messy – it’s acting weird.
Any idea how to run a Meteor.call from client within the template loop?