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
1 changed files with 2 additions and 2 deletions
|
@ -118,10 +118,10 @@ class GroupsController < Groups::ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def group_params
|
def group_params
|
||||||
params.require(:group).permit(group_params_ce)
|
params.require(:group).permit(group_params_attributes)
|
||||||
end
|
end
|
||||||
|
|
||||||
def group_params_ce
|
def group_params_attributes
|
||||||
[
|
[
|
||||||
:avatar,
|
:avatar,
|
||||||
:description,
|
:description,
|
||||||
|
|
Loading…
Reference in a new issue