This commit is contained in:
Nweni
2019-11-15 14:20:59 +06:30
parent cc8cf0a48c
commit af2d69c0b5
3 changed files with 17 additions and 17 deletions

View File

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