Fast Render + Iron Router + route APIs


#1

Can somebody help me to apply Fast Render for my page? I have the following router-setting for my application, but I cannot figure out how could I set Fast Render for my several collections. I have read the documentation, but I think it’s not comprehensive enough for rookie like myself.

             Router.route('/:tournament_short_url/', function() {
                              
                 this.wait(
                     
                    Meteor.subscribe('Tournament', this.params.tournament_short_url),
                                    
                    Meteor.subscribe('Teams', this.params.tournament_short_url),
                    Meteor.subscribe('Players', this.params.tournament_short_url),
                    Meteor.subscribe('Schedule', this.params.tournament_short_url),
                    Meteor.subscribe('Rosters', this.params.tournament_short_url),
                    Meteor.subscribe('Players_ranking', this.params.tournament_short_url),
                    Meteor.subscribe('Images', this.params.tournament_short_url),
                
                        document.title = Tournament.findOne({tournament_short_url: this.params.tournament_short_url}).tournament_name,
                   
                        Session.set('tournament_short_url', this.params.tournament_short_url),              
                      
                    );    

                if (this.ready()) {this.render('tournament');}     
                                
             });