mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
added chatroom channel with room ids and notifications channel
This commit is contained in:
6
app/views/chat_rooms/show.html.erb
Normal file
6
app/views/chat_rooms/show.html.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<h1 style="color: white;">This is chatroom #<%= @chat_room.id %></h1>
|
||||
<div id="chatroom-hook" data-chatroom-id='<%= @chat_room.id %>'></div>
|
||||
|
||||
<button id="test-btn">Test Connection</button>
|
||||
|
||||
<%= javascript_pack_tag 'chatrooms' %>
|
||||
Reference in New Issue
Block a user