mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-21 09:19:59 +00:00
added room id in exchange parameters
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Rails.application.routes.draw do
|
||||
get 'video_sessions/create'
|
||||
|
||||
devise_for :users, path: '', path_names: { sign_out: 'logout'}
|
||||
devise_scope :user do
|
||||
get '/logout', to: 'devise/sessions#destroy'
|
||||
@@ -24,6 +24,8 @@ Rails.application.routes.draw do
|
||||
get '/contacts', to: 'pages#index'
|
||||
post '/sessions', to: 'video_sessions#create'
|
||||
|
||||
post '/chat_rooms/chat_room_sessions', to: 'chat_rooms#create'
|
||||
|
||||
resources :chat_rooms, only: [ :show ] do
|
||||
# testing action cable
|
||||
post '/cable_testing', to: 'pages#cable_testing'
|
||||
|
Reference in New Issue
Block a user