created rooms and redirects users to correct room

This commit is contained in:
Beatrice Olivera
2018-08-30 14:18:26 +01:00
parent 405d2cd5df
commit 5245f2257d
6 changed files with 80 additions and 519 deletions

View File

@@ -17,6 +17,10 @@ Rails.application.routes.draw do
get '/establish_call/:contact_id', to: 'pages#establish_call', as: 'establish_call'
post '/accept_call', to: 'pages#accept_call', as: 'accept_call/'
patch '/accept_call/:request_id', to: 'requests#update', as: 'update_request'
get '/contacts', to: 'pages#index'
post '/sessions', to: 'video_sessions#create'