Commit 6abca128 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Revert check_enable_flag! changes

parent d9d8b655ae6c
......@@ -11,10 +11,10 @@ def self.railtie_helpers_paths
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!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment