Class: ApplicationCable::Connection

Inherits:
ActionCable::Connection::Base
  • Object
show all
Defined in:
lib/templates/chat/connection.rb

Instance Method Summary collapse

Instance Method Details

#connectObject



5
6
7
# File 'lib/templates/chat/connection.rb', line 5

def connect
  self.current_user = find_verified_user
end