diff options
Diffstat (limited to 'app/channels')
-rw-r--r-- | app/channels/chat_room_channel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/channels/chat_room_channel.rb b/app/channels/chat_room_channel.rb index 1e14b35..82084b6 100644 --- a/app/channels/chat_room_channel.rb +++ b/app/channels/chat_room_channel.rb @@ -3,7 +3,7 @@ class ChatRoomChannel < ApplicationCable::Channel ActionCable.server.broadcast "chat_room_channel", html: ApplicationController.render(partial: "chat_messages/message", locals: { - chat: chat_message + chat_message: chat_message }) end |