demarches-normaliennes/app/channels/notifications_channel.rb

5 lines
113 B
Ruby
Raw Normal View History

class NotificationsChannel < ApplicationCable::Channel
def subscribed
stream_from 'notifications'
end
end