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:
Rémy Coutable 2018-01-31 17:42:42 +00:00
commit 560c93e60e
1 changed files with 2 additions and 2 deletions

View File

@ -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,