diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 19:00:00 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 19:00:00 +0200 |
| commit | 00a1f5bc2cc2c98bda3818e770eaae95e664480a (patch) | |
| tree | 957597fc0a568cbf92dd1d4377b771c39a671300 /app/controllers/groups_controller.rb | |
| parent | 91995909d9ef6fc5540c7577987ed2244ac7862a (diff) | |
| download | gitlab-ce-00a1f5bc2cc2c98bda3818e770eaae95e664480a.tar.gz | |
Project has now correct owner and creator. Increased test coverage
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 6646b10ca48..981adf061f0 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -70,7 +70,7 @@ class GroupsController < ApplicationController end def projects - @projects ||= group.projects.authorized_for(current_user).sorted_by_activity + @projects ||= current_user.authorized_projects.where(namespace_id: group.id).sorted_by_activity end def project_ids |
