notebook/app/controllers/items_controller.rb
2016-04-06 23:30:14 -05:00

15 lines
356 B
Ruby

# Controller for the Equipment model
class ItemsController < ContentController
private
def content_params
params.require(:item).permit(
:universe_id, :user_id,
:name, :item_type,
:description, :weight,
:original_owner, :current_owner, :made_by, :materials, :year_made,
:magic,
:notes, :private_notes)
end
end