Remove / from _header

This commit is contained in:
San Wai Lwin
2018-03-15 14:08:30 +06:30
parent 1188f6e8e9
commit c62637af10
2 changed files with 7 additions and 7 deletions

View File

@@ -19,12 +19,12 @@ class ActionController::Base
render :json => [{ status: false, message: 'Invalid Access!'}]
end
else
# check for license file
# if check_license
# current_license(ENV["SX_PROVISION_URL"])
# else
# redirect_to activate_path
# end
check for license file
if check_license
current_license(ENV["SX_PROVISION_URL"])
else
redirect_to activate_path
end
end
end