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

Revert check_enable_flag! changes

parent 3031209b
......@@ -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!
......
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