The session should be saved even if the filter chain is stopped

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-02-12 16:35:15 +00:00
parent 93cba1207a
commit db2023d4d2
1 changed files with 5 additions and 1 deletions

View File

@ -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