I'm using the code below to hide the navbar and sidebar in my application template in the routes: index.index, login.index, errors.404, errors.505 and errors.feature:
hideNavbarAndSidebar: computed.equal('currentRouteName',
'index.index',
'login.index',
'errors.404',
'errors.505',
'errors.feature'
),
The problem is: Doesn't work. Will only work in the first route, the index.index
How could i improve this code to make what i need??
Thanks.
Aucun commentaire:
Enregistrer un commentaire