added chatroom channel with room ids and notifications channel

This commit is contained in:
Beatrice Olivera
2018-08-30 03:00:09 +01:00
parent f0bca74f89
commit 405d2cd5df
17 changed files with 699 additions and 25 deletions

View File

@@ -15,9 +15,16 @@ Rails.application.routes.draw do
get '/call', to: 'pages#call'
get '/establish_call/:contact_id', to: 'pages#establish_call', as: 'establish_call'
get '/contacts', to: 'pages#index'
post '/sessions', to: 'video_sessions#create'
resources :chat_rooms, only: [ :show ] do
# testing action cable
post '/cable_testing', to: 'pages#cable_testing'
end
mount ActionCable.server, at: '/cable'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
get '/home', to: 'pages#home'