about summary refs log tree commit diff
path: root/app/channels/timeline_channel.rb
blob: 7b8d63ef59a4682f3712e0fbbb65836d21dbee60 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class TimelineChannel < ApplicationCable::Channel
  def subscribed
    stream_from "timeline:#{current_user.account_id}"
  end
end