Stop meteor iron-router auto rendering template -


my route:

router.route('/profile/:_id', {     layout:     'apptabs',     template:   'appprofile',     autorender: false   }); 

my layout:

<template name="apptabs"> ... <a href="/profile/{{getuserid}}"> ... <section>     {{> yield}}   </section> ... </template> 

my template:

<template name="appprofile">   <section>     <div>my profile</div>   </section> </template> 

trouble route automatically renders. have link in template, want wait clicked before template rendered. how achieve this?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -