Skip to content Skip to sidebar Skip to footer

Loading Data Using Iron Router And Meteor

Here is my dilemma. I'm currently loading my categories using a static variable onto the 'category' page. Everything loads and the links are clickable but when a user clicks on the

Solution 1:

in 'categoryGifs': function(), change

var category = this.params.category;

with:

var category = Router.current().params.category;

here is the working code:

http://meteorpad.com/pad/AdRS8mfyHsZjA2Rvp/Leaderboard

Post a Comment for "Loading Data Using Iron Router And Meteor"