Commit cdd28f645b53bbc282e93def80198fae4162652b
1 parent
69c98017
Exists in
master
and in
1 other branch
Refs #866 to_sym email_delivery_method
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
config/load.rb
... | ... | @@ -34,7 +34,9 @@ Errbit::Config = Configurator.run({ |
34 | 34 | github_org_id: ['GITHUB_ORG_ID'], |
35 | 35 | github_access_scope: ['GITHUB_ACCESS_SCOPE'], |
36 | 36 | |
37 | - email_delivery_method: ['EMAIL_DELIVERY_METHOD'], | |
37 | + email_delivery_method: ['EMAIL_DELIVERY_METHOD', -> (values) { | |
38 | + values[:email_delivery_method] && values[:email_delivery_method].to_sym | |
39 | + }], | |
38 | 40 | |
39 | 41 | # smtp settings |
40 | 42 | smtp_address: ['SMTP_SERVER'], | ... | ... |