mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
15 lines
438 B
Ruby
15 lines
438 B
Ruby
class MagicsController < ContentController
|
|
private
|
|
|
|
def content_param_list
|
|
%i(
|
|
name description type_of universe_id visuals effects positive_effects
|
|
negative_effects neutral_effects element resource_costs materials
|
|
skills_required limitations notes private_notes privacy
|
|
) + [
|
|
custom_attribute_values: [:name, :value],
|
|
magic_deityships_attributes: [:id, :deity_id, :_destroy]
|
|
]
|
|
end
|
|
end
|