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
Post a Comment