I'm trying to render in my index page three additional outlet
's, everything works fine, except that once I set up at least one outlet, the normal behaviour get interrupted. To be more clear here is what I'm doing
My IndexRoute
route
renderTemplate: function() {
this._super();
this.render('header', { into: 'index', outlet: 'header' });
this.render('sidebar', { into: 'index', outlet: 'sidebar' });
this.render('right_side', { into: 'index', outlet: 'right_side' });
}
Now my routes are mapped so index
is a resource and contains all other routes inside. My view contains all outlet
's setted to render and one unnamed outlet, which causes a problems.
If I do not explicitly name what to render and where in IndexRoute
, things work fine, I get my template rendered in my unnamed outlet, links work fine and unnamed outlet get the right content, but once I set up any named outlet, the unnamed outlet stops getting any content, though I'm calling _super()
.
So my question is how can I set up additional named outlets without disturbing normal work of unnamed outlet in the same resource
?
Update
{{outlet}}
s all need to be in your application template? – Ben