mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-21 09:19:59 +00:00
set up action able to work with webrtc in localhost
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user