Revert check_enable_flag! changes
This commit is contained in:
parent
3031209b07
commit
6abca12847
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue