action controller

This commit is contained in:
phyusin
2018-05-18 18:16:54 +06:30
parent e0a1c6c0e7
commit dbfebde010

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