shop_detail func: update in base

This commit is contained in:
phyusin
2019-01-07 16:05:18 +06:30
parent cca350b264
commit ccd9855281
15 changed files with 20 additions and 94 deletions

View File

@@ -2,8 +2,6 @@ class SymControlController < BaseController
skip_before_action :verify_authenticity_token
http_basic_authenticate_with name: "vip", password: "!abcABC01"
helper_method :shop_detail
def run
sym_path = File.expand_path("~/symmetric/")
check_sym_proc_str = `#{"sudo service SymmetricDS status"}`
@@ -44,10 +42,4 @@ class SymControlController < BaseController
flash[:notice] = "Not Get!"
end
end
#Shop Name in Navbor
def shop_detail
@shop = Shop.first
end
end