From 72573066231be9c2e392747a5c6af738bff34e4c Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Tue, 6 Dec 2016 09:41:39 -0600 Subject: ActionCable::Connection::Base doc code sample syntax error --- actioncable/lib/action_cable/connection/base.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'actioncable/lib/action_cable/connection') 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 -- cgit v1.2.3