From 3534a887fce122d0ce02f8306bd87da1ae5673f1 Mon Sep 17 00:00:00 2001 From: phyusin Date: Wed, 21 Feb 2018 14:01:29 +0630 Subject: [PATCH] remove Job for bill_channel --- app/controllers/origami/split_bill_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/origami/split_bill_controller.rb b/app/controllers/origami/split_bill_controller.rb index d16e3519..6aedd516 100644 --- a/app/controllers/origami/split_bill_controller.rb +++ b/app/controllers/origami/split_bill_controller.rb @@ -294,7 +294,7 @@ class Origami::SplitBillController < BaseOrigamiController Promotion.promo_activate(sale) - BillBroadcastJob.perform_later(table) + ActionCable.server.broadcast "bill_channel",table: table render :json => { status: status } else