Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 3584

Show
Ignore:
Timestamp:
02/12/06 16:35:15 (3 years ago)
Author:
david
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/filters.rb

    r3580 r3584  
    421421 
    422422        def process_cleanup_with_filters 
    423           process_cleanup_without_filters unless @before_filter_chain_aborted 
     423          if @before_filter_chain_aborted 
     424            close_session 
     425          else 
     426            process_cleanup_without_filters 
     427          end 
    424428        end 
    425429    end