mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-22 17:52:10 +00:00
created channel for action cable and friendship relationship in database
This commit is contained in:
11
app/channels/video_session_channel.rb
Normal file
11
app/channels/video_session_channel.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class VideoSessionChannel < ApplicationCable::Channel
|
||||
def subscribed
|
||||
# video session
|
||||
# stream_from "chat_room_#{params[:chat_room_id]}"
|
||||
end
|
||||
|
||||
|
||||
def unsubscribed
|
||||
# Any cleanup needed when channel is unsubscribed
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user