mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
16 lines
387 B
Ruby
16 lines
387 B
Ruby
class MagicsController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:magic).permit(content_param_list)
|
|
end
|
|
|
|
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
|
|
)
|
|
end
|
|
end
|