Sha256: 72cd13d01dfe271f774e548155b2d8da447b07497dec52c27d6c42fe18cc8b17
Contents?: true
Size: 219 Bytes
Versions: 5
Compression:
Stored size: 219 Bytes
Contents
module Marty class NotificationChannel < ::ApplicationCable::Channel def subscribed reject && return unless current_user.present? stream_from "marty_notifications_#{current_user.id}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems