summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-01-31 17:42:42 +0000
committerRémy Coutable <remy@rymai.me>2018-01-31 17:42:42 +0000
commit560c93e60efd0ae5a1a6bed68a1ee3e74bf23737 (patch)
tree2ff5f532b835327666358752109315d641fd926b /app
parent9c34c023808b38303d4988a20f62645c552951e3 (diff)
parent406e10b89c41db709217367d8093d80ad00b02df (diff)
downloadgitlab-ce-560c93e60efd0ae5a1a6bed68a1ee3e74bf23737.tar.gz
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
Diffstat (limited to 'app')
-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,