Changed raw SQL query to activerecord

This commit is contained in:
yarzar_code
2020-01-03 10:16:45 +06:30
parent 2a856c3cc1
commit 0202bc7827
10 changed files with 124 additions and 241 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