summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-17 14:23:46 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-17 14:23:46 +0200
commite960b3ad2c44c49560cceeee98fe0ec9542d74a7 (patch)
tree9e25ff148e5fe584e7503e2d75cc0377b3083e07
parentd059d346222c2a32c1f761acb823fb0240da99fa (diff)
downloadgitlab-ce-e960b3ad2c44c49560cceeee98fe0ec9542d74a7.tar.gz
Fix nav_link for dashboard
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index acb7b62f2a8..f172e9b4ae8 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -31,8 +31,8 @@
%span
Merge Requests
%span.count= current_user.assigned_merge_requests.opened.count
- = nav_link(controller: [:ci, :projects]) do
- = link_to ci_root_path, title: 'Continuous Integration', data: {placement: 'right'} do
+ = nav_link(path: 'ci/projects#index') do
+ = link_to ci_projects_path, title: 'Continuous Integration', data: {placement: 'right'} do
= icon('building fw')
%span
Continuous Integration