Project

General

Profile

Feature #7075 » actionpack-2.3.11.patch

Rails 2.3.11 patch for reset_session issue - Jason Montojo, 2011-04-19 22:41

View differences:

gems2/actionpack-2.3.11/lib/action_controller/request.rb 2011-04-18 12:34:25.000000000 -0400
446 446
    end
447 447

  
448 448
    def reset_session
449
      session.destroy if session
449
      session.destroy if session && session.respond_to?(:destroy)
450 450
      self.session = {}
451 451
    end
452 452

  
(3-3/3)