diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 490ffc00c3..4b48d6bfed 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -131,10 +131,10 @@ module ActionMailer #:nodoc: # # config.action_mailer.default_url_options = { :host => "example.com" } # - # If you decide to set a default :host for your mailers, then you want to use the - # :only_path => false option when using url_for. This will ensure that absolute URLs are - # generated because the url_for view helper by default will generate relative URLs when a - # :host option isn't explicitly provided. + # When you decide to set a default :host for your mailers, then you need to make sure to use the + # :only_path => false option when using url_for. Since the url_for view helper + # will generate relative URLs by default when a :host option isn't explicitly provided, passing + # :only_path => false will ensure that absolute URLs are generated. # # = Sending mail #