Commit 92cb9ca7 authored by James Lopez's avatar James Lopez
Browse files

refactor groups controller to match EE

parent 2c1474af69da
......@@ -118,10 +118,10 @@ def determine_layout
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,
......
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