From 386cbcc67b5fc3a664c4cf9581aa1c22a10e5c6c Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 11 Dec 2012 00:53:40 +0100 Subject: [PATCH] fix homepage rename error --- app/views/theme1/_navigation.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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