set up action able to work with webrtc in localhost

This commit is contained in:
Beatrice Olivera
2018-08-27 19:05:57 +01:00
parent f9cbb7c680
commit aa3693d58c
9 changed files with 252 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
Rails.application.routes.draw do
get 'video_sessions/create'
devise_for :users
root to: 'pages#home'
post '/sessions', to: 'video_sessions#create'
mount ActionCable.server, at: '/cable'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end