Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Class doesn't support split
Browse files Browse the repository at this point in the history
  • Loading branch information
jystewart committed Jan 3, 2012
1 parent 980188e commit 6612666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/exception_notification.rb
@@ -1,6 +1,6 @@
unless Rails.env.development? or Rails.env.test?
Rails.application.config.middleware.use ExceptionNotifier,
:email_prefix => "[#{Rails.application.split('::').first}] ",
:email_prefix => "[#{Rails.application.to_s.split('::').first}] ",
:sender_address => %{"Winston Smith-Churchill" <winston@alphagov.co.uk>},
:exception_recipients => %w{govuk-dev@digital.cabinet-office.gov.uk}
end

0 comments on commit 6612666

Please sign in to comment.