aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactionpack/lib/action_controller/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index fa047e18c2..7c2f7239fa 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -363,9 +363,9 @@ module ActionController #:nodoc:
log_processing if logger
send(method, *arguments)
- close_session
-
@response
+ ensure
+ close_session
end
# Returns a URL that has been rewritten according to the options hash and the defined Routes.