mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "*Store implements delete_session as a public method"
This reverts commit d41939a678
.
Reason: activerecord-session_store implements `delete_session` as a private method
https://github.com/rails/activerecord-session_store/blob/f188efb/lib/action_dispatch/session/active_record_store.rb#L94
Thank you @al for pointing this out!
https://github.com/rails/rails/commit/d41939a6#commitcomment-43152220
Co-authored-by: Alan Larkin <alan.larkin@gmail.com>
This commit is contained in:
parent
83912c88bf
commit
5699122abf
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module ActionDispatch
|
|||
def destroy
|
||||
clear
|
||||
options = self.options || {}
|
||||
@by.delete_session(@req, options.id(@req), options)
|
||||
@by.send(:delete_session, @req, options.id(@req), options)
|
||||
|
||||
# Load the new sid to be written with the response.
|
||||
@loaded = false
|
||||
|
|
Loading…
Reference in a new issue