license flash msg and add set Item price

This commit is contained in:
Yan
2018-01-19 10:43:08 +06:30
parent 09bbfa3772
commit 384923133b
7 changed files with 53 additions and 41 deletions

View File

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