Class: ActionDispatch::Session::FileStore

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-session-file.rb

Class Method Summary collapse

Class Method Details

.new(app, options = {}) ⇒ Object



13
14
15
16
# File 'lib/rails-session-file.rb', line 13

def self.new(app, options={})
  options[:expire_after] ||= options[:expires]
  return Rack::Session::File.new(app, options)
end