diff options
Diffstat (limited to 'app/controllers/ci')
-rw-r--r-- | app/controllers/ci/application_controller.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/ci/application_controller.rb b/app/controllers/ci/application_controller.rb index da77e2b94e8..d8227e632e4 100644 --- a/app/controllers/ci/application_controller.rb +++ b/app/controllers/ci/application_controller.rb @@ -11,10 +11,10 @@ module Ci private def check_enable_flag! - # unless current_application_settings.ci_enabled - # redirect_to(disabled_ci_projects_path) - # return - # end + unless current_application_settings.ci_enabled + redirect_to(disabled_ci_projects_path) + return + end end def authenticate_public_page! |