Call Method In Iron-router Routecontroller From Template.tmpl.helpers() Not Working
I'm trying to push new data on to my clients array each time the loadMoreClients method is called. The publication is expecting this back_to parameter and knows how to handle it.
Solution 1:
I have changed the approach to this problem by simply updating the subscription to subscribe to posts earlier than the currently loaded date.
It is working, although seems like there should be a better way than having to waitOn
the subscription when I want to load more.
Post a Comment for "Call Method In Iron-router Routecontroller From Template.tmpl.helpers() Not Working"