Commit 20a64242b3b4b310e879f4432bf68f5a70bd6d6c
1 parent
a55223fa
Exists in
master
and in
1 other branch
Added the ability to control two more settings from config/config.yml via ENV variables.
Should refactor this in the future so that scanned ENV variables are programatically generated.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
config/initializers/_load_config.rb
| ... | ... | @@ -8,6 +8,8 @@ if ENV['HEROKU'] |
| 8 | 8 | Errbit::Config.email_from = ENV['ERRBIT_EMAIL_FROM'] |
| 9 | 9 | Errbit::Config.email_at_notices = [1,3,10] #ENV['ERRBIT_EMAIL_AT_NOTICES'] |
| 10 | 10 | Errbit::Config.confirm_resolve_err = ENV['ERRBIT_CONFIRM_RESOLVE_ERR'] |
| 11 | + Errbit::Config.user_has_username = ENV['ERRBIT_USER_HAS_USERNAME'] | |
| 12 | + Errbit::Config.allow_comments_with_issue_tracker = ENV['ERRBIT_ALLOW_COMMENTS_WITH_ISSUE_TRACKER'] | |
| 11 | 13 | |
| 12 | 14 | Errbit::Config.smtp_settings = { |
| 13 | 15 | :address => "smtp.sendgrid.net", | ... | ... |