Update site pages

This commit is contained in:
2012-11-14 15:12:28 +01:00
parent bb7b9258e5
commit 0036e5da60
25 changed files with 132 additions and 32 deletions
+6 -5
View File
@@ -1,6 +1,7 @@
ul.nav
li[class=(current_page?(controller: 'dashboard', action: 'home') ? :active : nil)]= link_to 'Home', root_path
li= link_to User.model_name.human_plural, user_root_path
li= link_to Supplier.model_name.human_plural, supplier_root_path
li[class=(current_page?(controller: 'dashboard', action: 'enquete') ? :active : nil)]= link_to 'Enquete', enquete_path
li[class=(current_page?(controller: 'dashboard', action: 'cartoon') ? :active : nil)]= link_to 'Cartoon', cartoon_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
li[class=(current_page?(controller: 'dashboard', action: 'cartoon') ? :active : nil)]= link_to t('menu.cartoon'), cartoon_path
li[class=(current_page?(controller: 'dashboard', action: 'contact') ? :active : nil)]= link_to t('menu.contact'), contact_path