diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-28 13:41:21 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-29 10:47:03 +0200 |
commit | 6abca1284791475a8240e4b25b5e6e7175533101 (patch) | |
tree | 9bbfe4c18ab5b85948a3231fdbe8c5ced242e222 | |
parent | 3031209b07c1797fe837b0eb871c56bc1f0276bb (diff) | |
download | gitlab-ce-6abca1284791475a8240e4b25b5e6e7175533101.tar.gz |
Revert check_enable_flag! changes
-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! |