javascript - iron-router map without layoutTemplate -


i have iron-router layouttemplate in configuration. requirement need include iframe element without rendering layouttemplate.

//my configuration router.configure({   layouttemplate: 'layout' });  //my routes router.map(function() {   this.route('index', {path: '/'});   this.route('iframe', {path: '/iframe'}); //this particular path should render without layouttemplate. }); 

just add layout name in route map.

router.map(function() {   this.route('iframe', {path: '/iframe',layouttemplate:'iframe'}); }); 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -