Commit 674efd38 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix 500 error on services page. Fixed active project tab when on services

parent 77304dffbc93
......@@ -72,7 +72,7 @@ def project_tab_class
return "active" if current_page?(controller: "projects", action: action, id: @project)
if ['snippets', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name
if ['snippets', 'services', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name
......@@ -9,7 +9,7 @@
GitLab CI
%small Continuous integration server from GitLab
- if
- if @gitlab_ci_service.try(:active)
%small.cgreen Enabled
- else
%small.cgray Disabled
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