Closed Fauntleroy closed 11 years ago
Page views will now use the layout closest to them in the view hierarchy. Say we have the following views:
views/deeply/nested/page/using/a_layout.hbs views/deeply/nested/page.hbs views/deeply/nested/layout.hbs index.hbs layout.hbs
deeply/nested/page/using/a_layout and deeply/nested/page would both use deeply/nested/layout.hbs, while index would use layout.hbs.
deeply/nested/page/using/a_layout
deeply/nested/page
deeply/nested/layout.hbs
index
layout.hbs
Page views will now use the layout closest to them in the view hierarchy. Say we have the following views:
deeply/nested/page/using/a_layout
anddeeply/nested/page
would both usedeeply/nested/layout.hbs
, whileindex
would uselayout.hbs
.