diff --git a/app/views/theme1/_navigation.html.slim b/app/views/theme1/_navigation.html.slim index 65a7dfed..ba4af5a6 100644 --- a/app/views/theme1/_navigation.html.slim +++ b/app/views/theme1/_navigation.html.slim @@ -1,5 +1,5 @@ ul.nav - li[class=(current_page?(controller: '/dashboard', action: 'index') ? :active : nil)]= link_to t('menu.home'), root_path + li[class=(current_page?(controller: '/dashboard', action: 'home') ? :active : nil)]= link_to t('menu.home'), root_path li[class=(current_page?(controller: '/dashboard', action: 'clients') ? :active : nil)]= link_to t('menu.clients'), clients_path li[class=(current_page?(controller: '/dashboard', action: 'bars_restaurants') ? :active : nil)]= link_to t('menu.bars_restaurants'), bars_restaurants_path li[class=(current_page?(controller: '/dashboard', action: 'enquete') ? :active : nil)]= link_to t('menu.enquete'), enquete_path