Class: DoneChannel

Inherits:
ApplicationCable::Channel
  • Object
show all
Defined in:
app/channels/done_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



3
4
5
# File 'app/channels/done_channel.rb', line 3

def subscribed
  stream_from "user:#{current_user_id}"
end