mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
implemented chat and built in google translate
This commit is contained in:
@@ -30,6 +30,8 @@ Rails.application.routes.draw do
|
||||
resources :chat_rooms, only: [ :show ] do
|
||||
# testing action cable
|
||||
post '/cable_testing', to: 'pages#cable_testing'
|
||||
post '/send_message', to: 'pages#send_message'
|
||||
post '/translate', to: 'pages#translate'
|
||||
end
|
||||
|
||||
mount ActionCable.server, at: '/cable'
|
||||
|
||||
Reference in New Issue
Block a user