Commit 1f2fc375 authored by James Lopez's avatar James Lopez
Browse files

refactor groups controller to match EE

parent 2c1474af69da
...@@ -118,6 +118,6 @@ ...@@ -118,6 +118,6 @@
end end
def group_params def group_params
params.require(:group).permit(group_params_ce) params.require(:group).permit(group_params_attributes)
end end
...@@ -122,6 +122,6 @@ ...@@ -122,6 +122,6 @@
end end
def group_params_ce def group_params_attributes
[ [
:avatar, :avatar,
:description, :description,
......
Supports Markdown
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