mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-08-29 16:49:13 +00:00
10 lines
194 B
Ruby
10 lines
194 B
Ruby
class NotificationsChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "notifications"
|
|
end
|
|
|
|
def unsubscribed
|
|
# Any cleanup needed when channel is unsubscribed
|
|
end
|
|
end
|