mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
added hover and show original/translated
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user