mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
15 lines
312 B
Ruby
15 lines
312 B
Ruby
# Controller for the Language model
|
|
class LanguagesController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:language).permit(
|
|
:user_id, :universe_id,
|
|
:name,
|
|
:words,
|
|
:established_year, :established_location,
|
|
:characters, :locations,
|
|
:notes)
|
|
end
|
|
end
|