diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-03 17:58:00 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-03 17:58:00 +0300 |
commit | 617bb1096deb1fb5dea66d04b9bbd7da0dfb57ba (patch) | |
tree | e11da6f2a695b3cc8c8875e60da5142d38946f6f /app/controllers/dashboard/projects_controller.rb | |
parent | 70d6455284717f938016b1e1b569e0d0dadb11fc (diff) |
Revert "Sort starred projects on dashboard based on last activity by default"
This reverts commit 70d6455284717f938016b1e1b569e0d0dadb11fc.
Diffstat (limited to 'app/controllers/dashboard/projects_controller.rb')
-rw-r--r-- | app/controllers/dashboard/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard/projects_controller.rb b/app/controllers/dashboard/projects_controller.rb index dc880b634e5..aeafbd30143 100644 --- a/app/controllers/dashboard/projects_controller.rb +++ b/app/controllers/dashboard/projects_controller.rb @@ -31,7 +31,7 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController end def starred - @projects = current_user.starred_projects.sorted_by_activity + @projects = current_user.starred_projects @projects = @projects.includes(:namespace, :forked_from_project, :tags) @projects = @projects.sort(@sort = params[:sort]) |