Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Werberich <elias@endercoding.com>2016-03-24 13:12:45 +0300
committerElias Werberich <elias@endercoding.com>2016-03-24 21:59:54 +0300
commitc3a98d8fcc2f9f7a0ce8816c8cf9dbebe58e64e9 (patch)
tree51cff43a3df9b76919f17821b5afc4c57c311e71 /app/controllers/root_controller.rb
parent5a460c3796b8083748747e004ee678045df0aca4 (diff)
Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences.
Fixes #14585.
Diffstat (limited to 'app/controllers/root_controller.rb')
-rw-r--r--app/controllers/root_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb
index ad04c646e1b..627be74a38f 100644
--- a/app/controllers/root_controller.rb
+++ b/app/controllers/root_controller.rb
@@ -26,6 +26,10 @@ class RootController < Dashboard::ProjectsController
redirect_to activity_dashboard_path
when 'starred_project_activity'
redirect_to activity_dashboard_path(filter: 'starred')
+ when 'groups'
+ redirect_to dashboard_groups_path
+ when 'todos'
+ redirect_to dashboard_todos_path
else
return
end