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

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -