diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 20:31:08 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 20:31:08 +0400 |
commit | 8634d0d5c1a8c7c1dc0aa735bb7bd450ca6c9b86 (patch) | |
tree | 90add1c180415f1a91b0a3404049272d80028865 /app/controllers/groups_controller.rb | |
parent | 9ff75e6a6f7ada371fb1c0905a6e5b24d41504e4 (diff) |
Sort projects by activity at group show page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index ebddf36de97..a3019b3ac78 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -100,7 +100,7 @@ class GroupsController < ApplicationController end def projects - @projects ||= ProjectsFinder.new.execute(current_user, group: group) + @projects ||= ProjectsFinder.new.execute(current_user, group: group).sorted_by_activity.non_archived end def project_ids |