10 lines
187 B
Ruby
10 lines
187 B
Ruby
|
class CountChannel < ApplicationCable::Channel
|
||
|
def subscribed
|
||
|
# stream_from "some_channel"
|
||
|
end
|
||
|
|
||
|
def unsubscribed
|
||
|
# Any cleanup needed when channel is unsubscribed
|
||
|
end
|
||
|
end
|