Tweak the management nav
This commit is contained in:
parent
414f1a3916
commit
56b6808f8b
@ -20,8 +20,10 @@ html
|
|||||||
= link_to 'Clarion', root_path, class: 'navbar-brand'
|
= link_to 'Clarion', root_path, class: 'navbar-brand'
|
||||||
.navbar-collapse.collapse
|
.navbar-collapse.collapse
|
||||||
ul.nav.navbar-nav
|
ul.nav.navbar-nav
|
||||||
li.active = link_to 'Home', root_path
|
li class="#{'active' if controller_name == 'home'}"
|
||||||
li = link_to 'Users', management_users_path
|
= link_to 'Home', management_path
|
||||||
|
li class="#{'active' if controller_name == 'users'}"
|
||||||
|
= link_to 'Users', management_users_path
|
||||||
div.container
|
div.container
|
||||||
== yield
|
== yield
|
||||||
= javascript_include_tag "management/application"
|
= javascript_include_tag "management/application"
|
||||||
|
Loading…
Reference in New Issue
Block a user