Merge branch '4761-follow-up-from-resolve-developers-should-be-able-to-create-new-projects-in-group' into 'master'
Refactor groups controller to match EE Closes gitlab-ee#4761 See merge request gitlab-org/gitlab-ce!16832
This commit is contained in:
commit
560c93e60e
|
@ -118,10 +118,10 @@ class GroupsController < Groups::ApplicationController
|
|||
end
|
||||
|
||||
def group_params
|
||||
params.require(:group).permit(group_params_ce)
|
||||
params.require(:group).permit(group_params_attributes)
|
||||
end
|
||||
|
||||
def group_params_ce
|
||||
def group_params_attributes
|
||||
[
|
||||
:avatar,
|
||||
:description,
|
||||
|
|
Loading…
Reference in New Issue