aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api_controller.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-08-01 11:31:53 +0100
committerRobin Houston <robin.houston@gmail.com>2012-08-01 11:31:53 +0100
commitcc3268df4c9de319ea16aa99238e3c4c40dae7c5 (patch)
tree3415a1c6725973656d569558036d8225ac520286 /app/controllers/api_controller.rb
parent021137133cd6f496b83278c2eebb558223843b7f (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