Admin interface #6

Merged
ignisf merged 23 commits from admin-interface into master 2014-10-06 12:33:26 +03:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 56b6808f8b - Show all commits

View File

@ -20,8 +20,10 @@ html
= link_to 'Clarion', root_path, class: 'navbar-brand'
.navbar-collapse.collapse
ul.nav.navbar-nav
li.active = link_to 'Home', root_path
li = link_to 'Users', management_users_path
li class="#{'active' if controller_name == 'home'}"
= link_to 'Home', management_path
li class="#{'active' if controller_name == 'users'}"
= link_to 'Users', management_users_path
div.container
== yield
= javascript_include_tag "management/application"