vinc/pi.ctu.re

View on GitHub
app/channels/timeline_channel.rb

Summary

Maintainability
A
0 mins
Test Coverage
class TimelineChannel < ApplicationCable::Channel
  def subscribed
    reject if current_user.nil?

    stream_for current_user
  end
end