update license and login dashboard

This commit is contained in:
Aung Myo
2018-04-04 09:43:02 +06:30
parent b0d7c3b1b8
commit 17562f6fcf
4 changed files with 19 additions and 9 deletions

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