summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-14 13:58:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-14 13:58:38 +0200
commit09bd8a8b0dbaed79e2a2b8b2416fe80809df8918 (patch)
treea2cda3cfe1d072643e9b6fa96d4a0692ea2687ab /app/views
parentb15fcd405690f4141dc8b3fdeca1daddf8b32985 (diff)
downloadgitlab-ce-09bd8a8b0dbaed79e2a2b8b2416fe80809df8918.tar.gz
Fix navigation
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/ci/_nav_admin.html.haml2
-rw-r--r--app/views/layouts/ci/_nav_dashboard.html.haml2
-rw-r--r--app/views/layouts/ci/_nav_project.html.haml4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/layouts/ci/_nav_admin.html.haml b/app/views/layouts/ci/_nav_admin.html.haml
index 7d65405740c..c987ab876a3 100644
--- a/app/views/layouts/ci/_nav_admin.html.haml
+++ b/app/views/layouts/ci/_nav_admin.html.haml
@@ -14,7 +14,7 @@
= link_to ci_admin_events_path do
%i.fa.fa-book
Events
- = nav_link path: 'runners#index' do
+ = nav_link path: ['runners#index', 'runners#show'] do
= link_to ci_admin_runners_path do
%i.fa.fa-cog
Runners
diff --git a/app/views/layouts/ci/_nav_dashboard.html.haml b/app/views/layouts/ci/_nav_dashboard.html.haml
index 202d73d1713..fcff405d19d 100644
--- a/app/views/layouts/ci/_nav_dashboard.html.haml
+++ b/app/views/layouts/ci/_nav_dashboard.html.haml
@@ -5,7 +5,7 @@
%span
Back to GitLab
%li.separate-item
- = nav_link path: 'projects#show' do
+ = nav_link path: 'projects#index' do
= link_to ci_root_path do
%i.fa.fa-home
%span
diff --git a/app/views/layouts/ci/_nav_project.html.haml b/app/views/layouts/ci/_nav_project.html.haml
index 9cef47eb4f7..ded60e4bf38 100644
--- a/app/views/layouts/ci/_nav_project.html.haml
+++ b/app/views/layouts/ci/_nav_project.html.haml
@@ -10,7 +10,7 @@
%i.fa.fa-bar-chart
%span
Charts
- = nav_link path: ['runners#index', 'runners#show'] do
+ = nav_link path: ['runners#index', 'runners#show', 'runners#edit'] do
= link_to ci_project_runners_path(@project) do
%i.fa.fa-cog
%span
@@ -30,7 +30,7 @@
%i.fa.fa-retweet
%span
Triggers
- = nav_link path: 'services#index' do
+ = nav_link path: ['services#index', 'services#edit'] do
= link_to ci_project_services_path(@project) do
%i.fa.fa-share
%span