From c15d3fb0da9e90850a79dc64ebd6614618e35fec Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 30 Nov 2014 10:18:07 +0900 Subject: [ci skip] fix description of url_for --- actionmailer/lib/action_mailer/base.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionmailer') 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 :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 # # Once a mailer action and template are defined, you can deliver your message or create it and save it -- cgit v1.2.3