summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_projects_head.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 14:58:04 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-02 14:58:04 +0100
commitd2b30dd2319023bc5d553e0e7eeb1ed6e1d745cd (patch)
treec57521fb027443309a01e833d40c2767c0ebdbe3 /app/views/dashboard/_projects_head.html.haml
parent69709bbdd094dc5e5157fffd8710791ae6efb826 (diff)
downloadgitlab-ce-d2b30dd2319023bc5d553e0e7eeb1ed6e1d745cd.tar.gz
Fix incorrect active state for "Your Projects" tab
Diffstat (limited to 'app/views/dashboard/_projects_head.html.haml')
-rw-r--r--app/views/dashboard/_projects_head.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml
index ed480b8caf8..efcd7b50b4c 100644
--- a/app/views/dashboard/_projects_head.html.haml
+++ b/app/views/dashboard/_projects_head.html.haml
@@ -1,5 +1,5 @@
%ul.center-top-menu
- = nav_link(path: ['projects#index', 'root#index']) do
+ = nav_link(page: [dashboard_projects_path, root_path]) do
= link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do
Your Projects
= nav_link(page: starred_dashboard_projects_path) do