mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
17 lines
315 B
Ruby
17 lines
315 B
Ruby
class GroupsController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:group).permit(content_param_list)
|
|
end
|
|
|
|
def content_param_list
|
|
%i(
|
|
name description other_names universe_id
|
|
organization_structure
|
|
motivation goal obstacles risks
|
|
inventory
|
|
)
|
|
end
|
|
end
|