Sha256: e1304c374f39cbb00b42db354e6c0526210cb25c1c8952c9052fb99d668b6e14

Contents?: true

Size: 117 Bytes

Versions: 4

Compression:

Stored size: 117 Bytes

Contents

class DoneChannel < ApplicationCable::Channel

  def subscribed
    stream_from "user:#{current_user_id}"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_data-1.0.2 app/channels/done_channel.rb
rails_data-1.0.1 app/channels/done_channel.rb
rails_data-1.0.0 app/channels/done_channel.rb
rails_data-0.0.1 app/channels/done_channel.rb