diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-08-01 11:28:03 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-08-01 11:28:03 +0100 |
commit | 021137133cd6f496b83278c2eebb558223843b7f (patch) | |
tree | 64b416d03c56f87348323d78ed0e45b57a68f3c1 /app/controllers/api_controller.rb | |
parent | 47f1b7eb7ecdd65bac82b28ed6f18be005f2e1f5 (diff) |
Set locale even for errors
The locale was not being set correctly for error pages, causing
some order-dependent test failures, e.g.:
script/spec spec/controllers/services_controller_spec.rb spec/integration/errors_spec.rb
was failing.
Many many many thanks to Louise Crow for tracking this one down!
Diffstat (limited to 'app/controllers/api_controller.rb')
0 files changed, 0 insertions, 0 deletions