5 lines
124 B
Ruby
5 lines
124 B
Ruby
class RoomChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "room_channel_#{params[:room_id]}"
|
|
end
|
|
end
|