implemented chat and built in google translate

This commit is contained in:
Beatrice Olivera
2018-09-04 19:03:28 +01:00
parent a42f72974a
commit f4467c65fd
9 changed files with 230 additions and 11 deletions

View File

@@ -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'