refactor groups controller to match EE
This commit is contained in:
parent
a0fc0fcc53
commit
406e10b89c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue