aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorKrzysztof Zych <krzysztof.zych@rebased.pl>2017-03-08 13:34:28 +0100
committerKrzysztof Zych <krzysztof.zych@rebased.pl>2017-03-08 13:34:28 +0100
commit3a6e84715e042b3d445fc178e5c88f10e27620c2 (patch)
tree947f4a47413b19dc99de84ade6aed82f3b7b50b5 /actionmailer
parent25e4b15b1bb486aae727c2079f82d30c743d0f50 (diff)
downloadrails-3a6e84715e042b3d445fc178e5c88f10e27620c2.tar.gz
rails-3a6e84715e042b3d445fc178e5c88f10e27620c2.tar.bz2
rails-3a6e84715e042b3d445fc178e5c88f10e27620c2.zip
Document using `default_url_options` in an ActionMailer class.
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 9b5d39faea..6849f5c0f9 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -133,6 +133,9 @@ module ActionMailer
#
# 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.
#
# = Sending mail