I have a web application that should use a different layout depending on where it is located.
Basically, if I’m on the Profile page, I’d like to use a specific application layout and a specific page layout. If I go to another "Messages" page, I would like to use a different application layout and a different page layout. I need to combine them to render my page.

Is there a way to do something like this?
profile.js (view)
export default Ember.View.extend({
appLayoutName: 'appLayoutType1',
layoutName: 'pageLayoutType1',
templateName: 'profile'
});
messages.js (view)
export default Ember.View.extend({
appLayoutName: 'appLayoutType2',
layoutName: 'pageLayoutType2',
templateName: 'messages'
});
forums.js (view)
export default Ember.View.extend({
appLayoutName: 'appLayoutType1',
layoutName: 'pageLayoutType2',
templateName: 'forums'
});
Another detail, the route should not affect these changes. I do not have to add a level to my page to select the correct layout.
Thank!