Commit a19a0b43 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix 500 when showing project page and there's no CI project present

parent 2184683b92c3
......@@ -428,7 +428,7 @@ def find_service(list, name)
end
def gitlab_ci?
gitlab_ci_service && gitlab_ci_service.active
gitlab_ci_service && gitlab_ci_service.active && gitlab_ci_project.present?
end
def ci_services
......
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