summaryrefslogtreecommitdiff
path: root/app/controllers/root_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/root_controller.rb')
-rw-r--r--app/controllers/root_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb
index 97b6671a82a..71da9bdcbc4 100644
--- a/app/controllers/root_controller.rb
+++ b/app/controllers/root_controller.rb
@@ -41,8 +41,10 @@ class RootController < Dashboard::ProjectsController
when 'stars'
flash.keep
redirect_to(starred_dashboard_projects_path)
- when 'project_activity'
+ when 'your_activity'
redirect_to(activity_dashboard_path)
+ when 'project_activity'
+ redirect_to(activity_dashboard_path(filter: 'projects'))
when 'starred_project_activity'
redirect_to(activity_dashboard_path(filter: 'starred'))
when 'followed_user_activity'