Module: ActionMailer::FormBuilder::ClassMethods
Relationships & Source Files | |
Defined in: | actionmailer/lib/action_mailer/form_builder.rb |
Instance Method Summary
-
#default_form_builder(builder)
Set the form builder to be used as the default for all forms in the views rendered by this mailer and its subclasses.
Instance Method Details
#default_form_builder(builder)
Set the form builder to be used as the default for all forms in the views rendered by this mailer and its subclasses.
Parameters
-
builder
- Default form builder. Accepts a subclass of::ActionView::Helpers::FormBuilder
# File 'actionmailer/lib/action_mailer/form_builder.rb', line 27
def default_form_builder(builder) self._default_form_builder = builder end