Skip to content

Commit 2e8a3e3

Browse files
committed
Merge branch 'fix-link-to-projects-path-from-dashboard' into 'master'
Link directly to the projects page instead of the root controller If "Your Projects' Activity" dashboard setting were selected, it would be impossible to navigate to the projects page since the redirection would always bounce back to the activity dashboard. Fixes bug introduced by !1446. See merge request !1459
2 parents 2c3355f + abae352 commit 2e8a3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/nav/_dashboard.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%ul.nav.nav-sidebar
22
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: 'home'}) do
3-
= link_to root_path, title: 'Projects', data: {placement: 'right'} do
3+
= link_to dashboard_projects_path, title: 'Projects', data: {placement: 'right'} do
44
= icon('home fw')
55
%span
66
Projects

0 commit comments

Comments
 (0)