Sha256: 157a1b02e2d4e39c2505e8a5aba1a04b1b75b6083a41cfbdc2f352b25904858a

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

class OnlineChannel < ApplicationCable::Channel
  def subscribed
    current_user.appear
  end

  def unsubscribed
    current_user.disappear
  end

  def appear
    current_user.appear
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webamm_to_rails-7.0.1 lib/webamm_to_rails/features/devise_onlineable/templates/app/channels/online_channel.rb.erb
webamm_to_rails-7.0.0 lib/webamm_to_rails/features/devise_onlineable/templates/app/channels/online_channel.rb.erb