diff options
author | David Gay <david@davidgay.org> | 2021-05-23 19:01:19 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-23 19:01:19 -0400 |
commit | ac1790f76d843ed125ffeac6962f50504f1bf559 (patch) | |
tree | d8ed2555799fd19f611e85cf2bde689e64170e40 /app/channels | |
parent | e6ef4ee72e0816e7e91e21787d04182476a41f6f (diff) |
Send achievement channel text messsage when someone levels up
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 |