demarches-normaliennes/app/channels/notifications_channel.rb

5 lines
No EOL
113 B
Ruby

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