added hover and show original/translated

This commit is contained in:
Beatrice Olivera
2018-09-06 08:46:07 +01:00
parent 5d4423ddb0
commit dcfeb416ec
3 changed files with 30 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ class PagesController < ApplicationController
ActionCable.server.broadcast "chat_room_#{params[:chat_room_id]}", {
translated_message: translated_message,
original_message: message,
userId: userId,
photo_url: params[:photo_url]
}