Module: Golden::FormHelper
- Defined in:
- lib/golden/action_view/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#golden_form_with(**options, &block) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/golden/action_view/form_helper.rb', line 5 def golden_form_with(**, &block) model = [:model] = { builder: ::Golden::FormBuilder } .merge!({ scope: :query, url: model.query_url }) if model.respond_to? :query_url form_with(**.merge(), &block) end |