aidengleave/acebook-desk-warriors

View on GitHub
app/channels/chat_channel.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ChatChannel < ApplicationCable::Channel
  def subscribed
    # stream_from "some_channel"
    stream_from "chat"
  end

  def unsubscribed
    # Any cleanup needed when channel is unsubscribed
  end
end