Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (313 Bytes)
Defect #7857
» rails_6440_patch.rb
Dmitry Salashnik
, 2011-06-14 08:08
# file config/initializers/rails_6440_patch.rb
ActionController
::
Request
.
class_eval
do
def
reset_session
# session may be a hash, if so, we do not want to call destroy
# fixes issue 6440
session
.
destroy
if
session
and
session
.
respond_to?
(
:destroy
)
self
.
session
=
{}
end
end
« Previous
1
2
Next »
(2-2/2)
Loading...