Skip to content
Snippets Groups Projects
Commit 6abca128 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

Revert check_enable_flag! changes

parent 3031209b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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!
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment