This commit is contained in:
Zoey
2019-05-20 14:50:01 +06:30
parent 770b064045
commit 7c58a5a662
10 changed files with 17 additions and 16 deletions

View File

@@ -20,11 +20,11 @@ class 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