Module: ActionController::FormBuilder::ClassMethods
- Defined in:
- lib/action_controller/form_builder.rb
Instance Method Summary collapse
-
#default_form_builder(builder) ⇒ Object
Set the form builder to be used as the default for all forms in the views rendered by this controller and its subclasses.
Instance Method Details
#default_form_builder(builder) ⇒ Object
Set the form builder to be used as the default for all forms in the views rendered by this controller and its subclasses.
Parameters
-
builder
- Default form builder, an instance of ActionView::Helpers::FormBuilder
42 43 44 |
# File 'lib/action_controller/form_builder.rb', line 42 def default_form_builder(builder) self._default_form_builder = builder end |