mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
make sure nil @session doesn't mess up wsod stacktraces
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -143,7 +143,7 @@ module ActionController #:nodoc:
|
||||
end
|
||||
|
||||
def process_cleanup_with_flash
|
||||
flash.sweep
|
||||
flash.sweep if @session
|
||||
process_cleanup_without_flash
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user