Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update ruby hash syntax.

My exception notifier addition caused the
test_should_only_allow_Ruby_v1.9_Hash_syntax test to fail because I'd
used ruby 1.8 hash syntax. My bad.
  • Loading branch information...
commit 9d420b4d755bb5ee471259a7715888316b73d1b2 1 parent 1088b35
@chrisroos chrisroos authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 config/environments/production.rb
View
6 config/environments/production.rb
@@ -62,7 +62,7 @@
config.action_mailer.smtp_settings = {enable_starttls_auto: false}
config.middleware.use ExceptionNotifier,
- :email_prefix => "[Whitehall exception] ",
- :sender_address => %{"Winston Smith-Churchill" <winston@alphagov.co.uk>},
- :exception_recipients => %w{chris.roos@gofreerange.com}
+ email_prefix: "[Whitehall exception] ",
+ sender_address: %{"Winston Smith-Churchill" <winston@alphagov.co.uk>},
+ exception_recipients: %w{chris.roos@gofreerange.com}
end
Please sign in to comment.
Something went wrong with that request. Please try again.