update action cable for cloud

This commit is contained in:
Aung Myo
2018-04-23 14:17:56 +06:30
parent 8806027793
commit cbb7a14621
2 changed files with 4 additions and 4 deletions

View File

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