diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-08-01 11:31:53 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-08-01 11:31:53 +0100 |
commit | cc3268df4c9de319ea16aa99238e3c4c40dae7c5 (patch) | |
tree | 3415a1c6725973656d569558036d8225ac520286 /app/controllers/api_controller.rb | |
parent | 021137133cd6f496b83278c2eebb558223843b7f (diff) |
Move variable restore to an ensure block
I think this whole thing is redundant anyway, since the locale is
set at the start of each request, but if we’re going to save/restore
this value then we might as well do so correctly.
Diffstat (limited to 'app/controllers/api_controller.rb')
0 files changed, 0 insertions, 0 deletions