mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
13 lines
408 B
Ruby
13 lines
408 B
Ruby
# Controller for the Location model
|
|
class LocationsController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:location).permit(
|
|
:universe_id, :user_id, :name, :type_of, :description, :map,
|
|
:population, :currency, :motto, :capital, :largest_city, :notable_cities,
|
|
:area, :crops, :located_at, :stablishment_year, :notable_wars,
|
|
:notes, :private_notes)
|
|
end
|
|
end
|