created channel for action cable and friendship relationship in database

This commit is contained in:
Beatrice Olivera
2018-08-27 16:55:44 +01:00
parent 7d67f04c63
commit f9cbb7c680
7 changed files with 59 additions and 2 deletions

View 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