Update action_controller.rb

This commit is contained in:
2019-05-24 06:48:24 +00:00
parent 8012bf8968
commit c1d3653612

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