This commit is contained in:
Yan
2017-12-14 17:08:08 +06:30
parent 36a30e73ab
commit e90d4d59ee
2 changed files with 20 additions and 21 deletions

View File

@@ -3,7 +3,9 @@ class CheckinJob < ApplicationJob
def perform()
table = DiningFacility.get_checkin_booking
ActionCable.server.broadcast "checkin_channel",table: table
if table.length > 0
ActionCable.server.broadcast "checkin_channel",table: table
end
end