update checking booking

This commit is contained in:
Aung Myo
2017-12-14 17:10:05 +06:30
parent fc45198542
commit 035d0851ee
6 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
class CheckInBookingChannel < ApplicationCable::Channel
def subscribed
stream_from "check_in_booking_channel"
end
def unsubscribed
stop_all_streams
# Any cleanup needed when channel is unsubscribed
end
end