diff options
author | James Lopez <james@jameslopez.es> | 2018-01-31 18:23:15 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-01-31 18:23:15 +0300 |
commit | 406e10b89c41db709217367d8093d80ad00b02df (patch) | |
tree | 3769c39e72ba704749f56585a24d61b481ab026b /app/controllers/groups_controller.rb | |
parent | a0fc0fcc53edf316ca8190b93605d198e7de7a65 (diff) |
refactor groups controller to match EE
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 4 |
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, |