Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Class doesn't support split

  • Loading branch information...
commit 6612666adff14ccb7212f1b09410f5b0318c8dd3 1 parent 980188e
@jystewart jystewart authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/initializers/exception_notification.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.