Class: Motor::NotesChannel

Inherits:
ApplicationCable::Channel show all
Defined in:
app/channels/motor/notes_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



5
6
7
# File 'app/channels/motor/notes_channel.rb', line 5

def subscribed
  stream_from "motor:notes:#{params[:room]}"
end