File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
actionmailer/lib/action_mailer Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -574,18 +574,13 @@ def mailer_name
574
574
attr_writer :mailer_name
575
575
alias :controller_path :mailer_name
576
576
577
- # Sets the defaults through app configuration:
578
- #
579
- # config.action_mailer.default(from: "[email protected] ")
577
+ # Allows to set defaults through app configuration:
580
578
#
581
- # Aliased by :: default_options=
579
+ # config.action_mailer. default_options = { from: "[email protected] " }
582
580
def default ( value = nil )
583
581
self . default_params = default_params . merge ( value ) . freeze if value
584
582
default_params
585
583
end
586
- # Allows to set defaults through app configuration:
587
- #
588
- # config.action_mailer.default_options = { from: "[email protected] " }
589
584
alias :default_options= :default
590
585
591
586
# Wraps an email delivery inside of ActiveSupport::Notifications instrumentation.
You can’t perform that action at this time.
0 commit comments