Skip to content

Commit

Permalink
Set exception notifier email to admin_email set in settings.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Neath committed Nov 6, 2008
1 parent e4e7b77 commit dc3eb38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/exception_notifier.rb
@@ -1 +1,2 @@
ExceptionNotifier.exception_recipients = "bort@bort.com"
admin_email = YAML.load_file("#{RAILS_ROOT}/config/settings.yml")[RAILS_ENV]['admin_email']
ExceptionNotifier.exception_recipients = admin_email

0 comments on commit dc3eb38

Please sign in to comment.