remove action cable comment
This commit is contained in:
@@ -337,12 +337,12 @@ class Origami::SplitBillController < BaseOrigamiController
|
|||||||
end
|
end
|
||||||
|
|
||||||
Promotion.promo_activate(sale)
|
Promotion.promo_activate(sale)
|
||||||
# if ENV["SERVER_MODE"] == 'cloud'
|
if ENV["SERVER_MODE"] == 'cloud'
|
||||||
# from = request.subdomain + "." + request.domain
|
from = request.subdomain + "." + request.domain
|
||||||
# else
|
else
|
||||||
# from = ""
|
from = ""
|
||||||
# end
|
end
|
||||||
# ActionCable.server.broadcast "bill_channel",table: table,from:from
|
ActionCable.server.broadcast "bill_channel",table: table,from:from
|
||||||
|
|
||||||
render :json => { status: status }
|
render :json => { status: status }
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user