update cable for cloud
This commit is contained in:
@@ -156,9 +156,9 @@ class DiningFacility < ApplicationRecord
|
||||
table = DiningFacility.find(table_id)
|
||||
#Send to background job for processing
|
||||
# CheckInBookingJob.perform_later(table)
|
||||
if ENV["SERVER_MODE"] != 'cloud'
|
||||
#if ENV["SERVER_MODE"] != 'cloud'
|
||||
ActionCable.server.broadcast "check_in_booking_channel",table: table
|
||||
end
|
||||
#end
|
||||
end
|
||||
|
||||
def self.checkin_time
|
||||
|
||||
Reference in New Issue
Block a user