Fixed bugs from last commit and in ExceptionNotification-config.

This commit is contained in:
Benjamin Meichsner 2009-02-02 17:12:08 +01:00
parent 0a2a79237a
commit aec93d4b73
4 changed files with 6 additions and 5 deletions

View file

@ -4,6 +4,6 @@ APP_CONFIG = YAML.load(raw_config)[RAILS_ENV].symbolize_keys
# Configuration of the exception_notification plugin
# Mailadresses are set in config/foodsoft.yaml
ExceptionNotifier.exception_recipients = APP_CONFIG[:error_recipients]
ExceptionNotifier.sender_address = APP_CONFIG[:sender_address]
ExceptionNotifier.email_prefix = APP_CONFIG[:email_prefix]
ExceptionNotifier.exception_recipients = APP_CONFIG[:notification]['error_recipients']
ExceptionNotifier.sender_address = APP_CONFIG[:notification]['sender_address']
ExceptionNotifier.email_prefix = APP_CONFIG[:notification]['email_prefix']