Merge pull request #80 from daronco/fix-missing-smtp_from

Fix missing 'smtp_from' variable when notifications are turned off
This commit is contained in:
Fred Dixon 2017-01-06 15:08:09 -05:00 committed by GitHub
commit b82f693bff
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ module Greenlight
config.action_mailer.default_options = {
from: config.smtp_from
}
else
# this needs to be set because it's always used to configure mailers
config.smtp_from = ""
end
end
end