forked from External/greenlight
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:
commit
b82f693bff
|
@ -70,6 +70,9 @@ module Greenlight
|
||||||
config.action_mailer.default_options = {
|
config.action_mailer.default_options = {
|
||||||
from: config.smtp_from
|
from: config.smtp_from
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
# this needs to be set because it's always used to configure mailers
|
||||||
|
config.smtp_from = ""
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue