mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ActionCable::Connection::Base doc code sample syntax error
This commit is contained in:
parent
e106173034
commit
7257306623
1 changed files with 1 additions and 4 deletions
|
@ -24,14 +24,11 @@ module ActionCable
|
|||
#
|
||||
# protected
|
||||
# def find_verified_user
|
||||
# if current_user = User.find_by_identity cookies.signed[:identity_id]
|
||||
# current_user
|
||||
# else
|
||||
# User.find_by_identity(cookies.signed[:identity_id]) ||
|
||||
# reject_unauthorized_connection
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
#
|
||||
# First, we declare that this connection can be identified by its current_user. This allows us to later be able to find all connections
|
||||
# established for that current_user (and potentially disconnect them). You can declare as many
|
||||
|
|
Loading…
Reference in a new issue