Class: Motor::NotesChannel
- Inherits:
-
ApplicationCable::Channel
- Object
- ApplicationCable::Channel
- Motor::NotesChannel
- Defined in:
- app/channels/motor/notes_channel.rb
Instance Method Summary collapse
Instance Method Details
#subscribed ⇒ Object
5 6 7 |
# File 'app/channels/motor/notes_channel.rb', line 5 def subscribed stream_from "motor:notes:#{params[:room]}" end |