mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-21 09:19:59 +00:00
added chatroom channel with room ids and notifications channel
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user