mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
19 lines
328 B
Ruby
19 lines
328 B
Ruby
# Controller for the Universe model
|
|
class UniversesController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:universe).permit(content_param_list)
|
|
end
|
|
|
|
def content_param_list
|
|
[
|
|
:user_id,
|
|
:name, :description,
|
|
:history,
|
|
:privacy,
|
|
:notes, :private_notes
|
|
]
|
|
end
|
|
end
|