Module: ActionDispatch::Session::DestroyableSession
- Defined in:
- lib/action_dispatch/middleware/session/abstract_store.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/action_dispatch/middleware/session/abstract_store.rb', line 13 def destroy clear = @env[Rack::Session::Abstract::ENV_SESSION_OPTIONS_KEY] if @env ||= {} @by.send(:destroy_session, @env, [:id], ) if @by [:id] = nil @loaded = false end |