diff options
author | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2016-12-06 09:41:39 -0600 |
---|---|---|
committer | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2016-12-06 10:35:36 -0600 |
commit | 72573066231be9c2e392747a5c6af738bff34e4c (patch) | |
tree | 84673640c372f5b76eca53e05c129bd925a5081f /actioncable/lib/action_cable/connection | |
parent | e10617303475488974fbe635d427f793faeb3f05 (diff) | |
download | rails-72573066231be9c2e392747a5c6af738bff34e4c.tar.gz rails-72573066231be9c2e392747a5c6af738bff34e4c.tar.bz2 rails-72573066231be9c2e392747a5c6af738bff34e4c.zip |
ActionCable::Connection::Base doc code sample syntax error
Diffstat (limited to 'actioncable/lib/action_cable/connection')
-rw-r--r-- | actioncable/lib/action_cable/connection/base.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actioncable/lib/action_cable/connection/base.rb b/actioncable/lib/action_cable/connection/base.rb index dfee123ea2..e1da126d64 100644 --- a/actioncable/lib/action_cable/connection/base.rb +++ b/actioncable/lib/action_cable/connection/base.rb @@ -24,11 +24,8 @@ 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 |