Skip to content

Commit abae352

Browse files
committed
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.
1 parent 5b7e491 commit abae352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)