Module: Trestle::ParamsHelper
- Defined in:
- app/helpers/trestle/params_helper.rb
Instance Method Summary collapse
Instance Method Details
#persistent_params ⇒ Object
3 4 5 |
# File 'app/helpers/trestle/params_helper.rb', line 3 def persistent_params params.slice(*Trestle.config.persistent_params).permit(*Trestle.config.persistent_params) end |