Commit 406e10b8 authored by James Lopez's avatar James Lopez

refactor groups controller to match EE

parent a0fc0fcc
...@@ -118,10 +118,10 @@ class GroupsController < Groups::ApplicationController ...@@ -118,10 +118,10 @@ class GroupsController < Groups::ApplicationController
end end
def group_params def group_params
params.require(:group).permit(group_params_ce) params.require(:group).permit(group_params_attributes)
end end
def group_params_ce def group_params_attributes
[ [
:avatar, :avatar,
:description, :description,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment