1 changed files with 1 additions and 13 deletions
@ -1,16 +1,4 @@
|
||||
ActiveAdmin.register IncomeRange do |
||||
# See permitted parameters documentation: |
||||
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters |
||||
# |
||||
# Uncomment all parameters which should be permitted for assignment |
||||
# |
||||
# permit_params :economic_status, :soft_min, :soft_max, :hard_min, :hard_max |
||||
# |
||||
# or |
||||
# |
||||
# permit_params do |
||||
# permitted = [:economic_status, :soft_min, :soft_max, :hard_min, :hard_max] |
||||
# permitted << :other if params[:action] == 'create' && current_user.admin? |
||||
# permitted |
||||
# end |
||||
permit_params :economic_status, :soft_min, :soft_max, :hard_min, :hard_max |
||||
end |
||||
|
Loading…
Reference in new issue