Commit c1b84ee1b9e14605803f84aec6428278cd43e868
1 parent
2a43c959
Exists in
master
and in
1 other branch
Also set smtp_settings on Errbit::Application
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/initializers/_load_config.rb
@@ -43,6 +43,7 @@ end | @@ -43,6 +43,7 @@ end | ||
43 | 43 | ||
44 | # Set SMTP settings if given. | 44 | # Set SMTP settings if given. |
45 | if smtp = Errbit::Config.smtp_settings | 45 | if smtp = Errbit::Config.smtp_settings |
46 | + Errbit::Application.config.action_mailer.smtp_settings = smtp | ||
46 | ActionMailer::Base.delivery_method = :smtp | 47 | ActionMailer::Base.delivery_method = :smtp |
47 | ActionMailer::Base.smtp_settings = smtp | 48 | ActionMailer::Base.smtp_settings = smtp |
48 | end | 49 | end |