From 3a6e84715e042b3d445fc178e5c88f10e27620c2 Mon Sep 17 00:00:00 2001
From: Krzysztof Zych <krzysztof.zych@rebased.pl>
Date: Wed, 8 Mar 2017 13:34:28 +0100
Subject: Document using `default_url_options` in an ActionMailer class.

---
 actionmailer/lib/action_mailer/base.rb | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
cgit v1.2.3