Revert check_enable_flag! changes

This commit is contained in:
Kamil Trzcinski 2015-09-28 13:41:21 +02:00
parent 3031209b07
commit 6abca12847

View file

@ -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!