From bfbbd4c346eb6f91505f64d9f437ee32f4540d03 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Fri, 10 Mar 2006 14:41:37 +0000 Subject: 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 --- actionpack/lib/action_controller/flash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/flash.rb b/actionpack/lib/action_controller/flash.rb index 446bab5dc9..5a50d39efc 100644 --- a/actionpack/lib/action_controller/flash.rb +++ b/actionpack/lib/action_controller/flash.rb @@ -143,7 +143,7 @@ module ActionController #:nodoc: end def process_cleanup_with_flash - flash.sweep + flash.sweep if @session process_cleanup_without_flash end -- cgit v1.2.3