diff --git a/config/initializers/action_controller.rb b/config/initializers/action_controller.rb index 85f38ec5..845d363e 100644 --- a/config/initializers/action_controller.rb +++ b/config/initializers/action_controller.rb @@ -20,12 +20,12 @@ class ActionController::Base 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