From 406e10b89c41db709217367d8093d80ad00b02df Mon Sep 17 00:00:00 2001 From: James Lopez Date: Wed, 31 Jan 2018 16:23:15 +0100 Subject: [PATCH] refactor groups controller to match EE --- app/controllers/groups_controller.rb | 4 ++-- 1 file 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,