11 lines
233 B
Ruby
11 lines
233 B
Ruby
class SecondDisplayViewChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "second_display_view_channel"
|
|
end
|
|
|
|
def unsubscribed
|
|
stop_all_streams
|
|
# Any cleanup needed when channel is unsubscribed
|
|
end
|
|
|
|
end |