shakacode/react-webpack-rails-tutorial

View on GitHub
app/channels/comments_channel.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class CommentsChannel < ApplicationCable::Channel
  def subscribed
    stream_from "comments"
  end
end