about summary refs log tree commit diff
path: root/app/channels/timeline_channel.rb
blob: f2a9636fd71e8d87b3b0d4f8329cdf87f4083005 (plain) (blame)
1
2
3
4
5
class TimelineChannel < ApplicationCable::Channel
  def subscribed
    stream_from "timeline:#{current_user.account_id}"
  end
end