Class: ApplicationCable::Connection

Inherits:
ActionCable::Connection::Base
  • Object
show all
Defined in:
lib/generators/polylingo_chat/install/templates/channels/application_cable/connection.rb

Instance Method Summary collapse

Instance Method Details

#connectObject



5
6
7
# File 'lib/generators/polylingo_chat/install/templates/channels/application_cable/connection.rb', line 5

def connect
  self.current_user = find_verified_user
end