Commit 308e65c0 authored by Douwe Maan's avatar Douwe Maan

Fix admin nav active state

parent 843694f9
%ul.nav.nav-pills.nav-stacked.admin-menu %ul.nav.nav-pills.nav-stacked.admin-menu
= nav_link path: 'projects' do = nav_link path: 'projects#index' do
= link_to ci_admin_projects_path do = link_to ci_admin_projects_path do
%i.fa.fa-list-alt %i.fa.fa-list-alt
Projects Projects
= nav_link path: 'events' do = nav_link path: 'events#index' do
= link_to ci_admin_events_path do = link_to ci_admin_events_path do
%i.fa.fa-book %i.fa.fa-book
Events Events
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
Runners Runners
%small.pull-right %small.pull-right
= Ci::Runner.count(:all) = Ci::Runner.count(:all)
= nav_link path: 'builds' do = nav_link path: 'builds#index' do
= link_to ci_admin_builds_path do = link_to ci_admin_builds_path do
%i.fa.fa-link %i.fa.fa-link
Builds Builds
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment