Project has now correct owner and creator. Increased test coverage
This commit is contained in:
parent
91995909d9
commit
00a1f5bc2c
15 changed files with 241 additions and 113 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue