Module: ActionMailer::FormBuilder::ClassMethods

Defined in:
lib/action_mailer/form_builder.rb

Instance Method Summary collapse

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 mailer and its subclasses.

Parameters

  • builder - Default form builder, an instance of ActionView::Helpers::FormBuilder



27
28
29
# File 'lib/action_mailer/form_builder.rb', line 27

def default_form_builder(builder)
  self._default_form_builder = builder
end