add response in license

This commit is contained in:
Yan
2018-01-23 14:40:32 +06:30
parent 7ef7657391
commit aa8c2621fc
3 changed files with 9 additions and 7 deletions

View File

@@ -38,11 +38,11 @@ class ApplicationController < ActionController::Base
end end
else else
# check for license file # check for license file
# if check_license if check_license
# current_license(ENV["SX_PROVISION_URL"]) current_license(ENV["SX_PROVISION_URL"])
# else else
# redirect_to activate_path redirect_to activate_path
# end end
end end
end end

View File

@@ -405,6 +405,8 @@ class License
else else
response = { "status": false, "message": "Activation is success but Symmetric Sql not found. \n Please contact code2lab call center!"} response = { "status": false, "message": "Activation is success but Symmetric Sql not found. \n Please contact code2lab call center!"}
end end
else
response = { "status": false, "message": "Activation is success but Cannot create Sym Tables. \n Please contact code2lab call center!"}
end end
else else
response = { "status": false, "message": "Activation is success but Symmetric not running. \n Please contact code2lab call center!"} response = { "status": false, "message": "Activation is success but Symmetric not running. \n Please contact code2lab call center!"}