Class: ApplicationCable::Connection

Inherits:
ActionCable::Connection::Base
  • Object
show all
Defined in:
app/channels/application_cable/connection.rb

Instance Method Summary collapse

Instance Method Details

#connectObject



5
6
7
# File 'app/channels/application_cable/connection.rb', line 5

def connect
  self.current_user = find_user
end