diff options
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index a8f9bba95..8c1d4387b 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -88,7 +88,9 @@ end ActionController::UrlWriter.default_url_options[:host] = MySociety::Config.get("DOMAIN", 'localhost:3000') # Monkeypatch! Set envelope from in ActionMailer. Code mostly taken from this -# Rails patch, with addition of using mail.from for sendmail if sender not set. +# Rails patch, with addition of using mail.from for sendmail if sender not set +# (the patch does that only for SMTP, when it clearly should consistently do it +# for both) # http://dev.rubyonrails.org/attachment/ticket/7697/action_mailer_base_sender.diff # Which is part of this ticket: # http://dev.rubyonrails.org/ticket/7697 |