agenda-libre-ruby/app/admin/region.rb

18 lines
414 B
Ruby
Raw Normal View History

2013-12-10 23:49:01 +01:00
ActiveAdmin.register Region do
# See permitted parameters documentation:
# https://github.com/gregbell/active_admin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# permit_params :list, :of, :attributes, :on, :model
#
# or
#
# permit_params do
# permitted = [:permitted, :attributes]
# permitted << :other if resource.something?
# permitted
# end
end