method
destroy
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::Request::Session
destroy()public
No documentation available.
# File actionpack/lib/action_dispatch/request/session.rb, line 79
def destroy
clear
options = self.options || {}
@by.send(:delete_session, @req, options.id(@req), options)
# Load the new sid to be written with the response.
@loaded = false
load_for_write!
end