action controller

This commit is contained in:
phyusin
2018-03-13 11:48:55 +06:30
parent 30a2e7755b
commit a9afa4e317

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