update cloud mode off for order and queue

This commit is contained in:
Aung Myo
2018-04-20 09:23:11 +06:30
parent 830dc1b4d2
commit f8687b5010
2 changed files with 14 additions and 12 deletions

View File

@@ -14,8 +14,8 @@ class Origami::SecondDisplayController < BaseOrigamiController
tax_profiles = nil
end
if ENV["SERVER_MODE"] != 'cloud'
ActionCable.server.broadcast "second_display_view_channel",data: params[:data],tax_profiles: tax_profiles,status:params[:status]
end
ActionCable.server.broadcast "second_display_view_channel",data: params[:data],tax_profiles: tax_profiles,status:params[:status]
end
end
#Shop Name in Navbor
helper_method :shop_detail