Change Dashboard, Account in login, Shop name, Reference no for other charges

This commit is contained in:
San Wai Lwin
2018-02-28 15:31:55 +06:30
parent 36511c258f
commit 07c3bcd7a7
73 changed files with 278 additions and 486 deletions

View File

@@ -2,6 +2,8 @@ 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"}`
@@ -43,4 +45,9 @@ class SymControlController < BaseController
end
end
#Shop Name in Navbor
def shop_detail
@shop = Shop.first
end
end