aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_controller/filters.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/filters.rb b/actionpack/lib/action_controller/filters.rb
index 008486751d..0a6a648885 100644
--- a/actionpack/lib/action_controller/filters.rb
+++ b/actionpack/lib/action_controller/filters.rb
@@ -420,7 +420,11 @@ module ActionController #:nodoc:
end
def process_cleanup_with_filters
- process_cleanup_without_filters unless @before_filter_chain_aborted
+ if @before_filter_chain_aborted
+ close_session
+ else
+ process_cleanup_without_filters
+ end
end
end
end