summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-01-31 16:23:15 +0100
committerJames Lopez <james@jameslopez.es>2018-01-31 16:23:15 +0100
commit406e10b89c41db709217367d8093d80ad00b02df (patch)
tree3769c39e72ba704749f56585a24d61b481ab026b
parenta0fc0fcc53edf316ca8190b93605d198e7de7a65 (diff)
downloadgitlab-ce-4761-follow-up-from-resolve-developers-should-be-able-to-create-new-projects-in-group.tar.gz
-rw-r--r--app/controllers/groups_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 75270a0889b..bb652832cb1 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -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,