diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-11-30 10:18:07 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-11-30 10:18:07 +0900 |
commit | c15d3fb0da9e90850a79dc64ebd6614618e35fec (patch) | |
tree | c53e8f4d2e033903af96c37deebbddb2f93d46dc /actionmailer | |
parent | b5242b6f95bc6a9481f438dce3fbed89e0f1edb0 (diff) | |
download | rails-c15d3fb0da9e90850a79dc64ebd6614618e35fec.tar.gz rails-c15d3fb0da9e90850a79dc64ebd6614618e35fec.tar.bz2 rails-c15d3fb0da9e90850a79dc64ebd6614618e35fec.zip |
[ci skip] fix description of url_for
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index a88e884ee8..67e316c4fe 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -132,11 +132,6 @@ module ActionMailer # # config.action_mailer.default_url_options = { host: "example.com" } # - # When you decide to set a default <tt>:host</tt> for your mailers, then you need to make sure to use the - # <tt>only_path: false</tt> option when using <tt>url_for</tt>. Since the <tt>url_for</tt> view helper - # will generate relative URLs by default when a <tt>:host</tt> option isn't explicitly provided, passing - # <tt>only_path: false</tt> will ensure that absolute URLs are generated. - # # = Sending mail # # Once a mailer action and template are defined, you can deliver your message or create it and save it |