demarches-normaliennes/app/channels/notifications_channel.rb
2017-04-04 16:59:38 +02:00

5 lines
114 B
Ruby

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