Class: Signum::ApplicationCable::Connection

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

Instance Method Summary collapse

Instance Method Details

#connectObject



8
9
10
11
# File 'app/channels/signum/application_cable/connection.rb', line 8

def connect
  self.current_user = find_verified_user
  logger.add_tags 'ActionCable', current_user.name
end