Module: ActionMailer::FormBuilder
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- actionmailer/lib/action_mailer/form_builder.rb
Overview
Action Mailer Form Builder
Override the default form builder for all views rendered by this mailer and any of its descendants. Accepts a subclass of ActionView::Helpers::FormBuilder.
While emails typically will not include forms, this can be used by views that are shared between controllers and mailers.
For more information, see ActionController::FormBuilder
.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#default_form_builder ⇒ Object
Default form builder for the mailer.
Methods included from ActiveSupport::Concern
append_features, class_methods, extended, included, prepend_features, prepended
Instance Method Details
#default_form_builder ⇒ Object
Default form builder for the mailer
33 34 35 |
# File 'actionmailer/lib/action_mailer/form_builder.rb', line 33 def default_form_builder self.class._default_form_builder end |