shop_detail func: update in base
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user