diff --git a/config/initializers/airbrake.rb b/config/initializers/airbrake.rb index e31d01e..8f6f488 100644 --- a/config/initializers/airbrake.rb +++ b/config/initializers/airbrake.rb @@ -1,7 +1,7 @@ # This is the config to talk to opensnperr.herokuapp.com Airbrake.configure do |config| - config.api_key = APP_CONFIG[:errbit][:api_key] - config.host = APP_CONFIG[:errbit][:host] + config.api_key = APP_CONFIG[:errbit]['api_key'] + config.host = APP_CONFIG[:errbit]['host'] config.port = 80 config.secure = config.port == 443 config.environment_name = Rails.env.production? ? `hostname` : Rails.env