1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Document using default_url_options in an ActionMailer class.

This commit is contained in:
Krzysztof Zych 2017-03-08 13:34:28 +01:00
parent 25e4b15b1b
commit 3a6e84715e

View file

@ -133,6 +133,9 @@ module ActionMailer
# #
# config.action_mailer.default_url_options = { host: "example.com" } # config.action_mailer.default_url_options = { host: "example.com" }
# #
# You can also define a <tt>default_url_options</tt> method on individual mailers to override these
# default settings per-mailer.
#
# By default when <tt>config.force_ssl</tt> is true, URLs generated for hosts will use the HTTPS protocol. # By default when <tt>config.force_ssl</tt> is true, URLs generated for hosts will use the HTTPS protocol.
# #
# = Sending mail # = Sending mail