about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-09-10 14:10:30 -0500
committerGitHub <noreply@github.com>2017-09-10 14:10:30 -0500
commit7a9c7d4e0b694e716cb018e3057792b4d86026fa (patch)
tree973b16e23a7cbeaf5a43550444e54aa1ace50a46 /config/environments
parentc9df53044a333276853f7dc7ef2aed6d48df087f (diff)
parent932571fa22273e6ff5c229147668c426b4d65326 (diff)
Merge pull request #143 from yipdw/sync/upstream
Merge with upstream's 1.6.0
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 928fd13e5..dc1ce5ed6 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -73,7 +73,7 @@ Rails.application.configure do
   config.action_mailer.perform_caching = false
 
   # E-mails
-  config.action_mailer.default_options = { from: ENV.fetch('SMTP_FROM_ADDRESS') }
+  config.action_mailer.default_options = { from: ENV.fetch('SMTP_FROM_ADDRESS', 'notifications@localhost') }
 
   config.action_mailer.smtp_settings = {
     :port                 => ENV['SMTP_PORT'],