Add a plugin to handle session persistence. This is based on the
plugin at http://github.com/augustl/session-persistence but modified to work with rails 2 rather than rails 3.
This commit is contained in:
parent
345ac0bd1a
commit
60f145f13e
5 changed files with 134 additions and 0 deletions
3
vendor/plugins/session-persistence/init.rb
vendored
Normal file
3
vendor/plugins/session-persistence/init.rb
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
require "session_persistence"
|
||||
ActionController::Base.class_eval { include SessionPersistence }
|
||||
ActionController::Base.after_filter :_persist_session
|
Loading…
Add table
Add a link
Reference in a new issue