summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/index.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-09-06 18:59:33 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-09-06 18:59:33 +0200
commit5941f3a7e8628e8792c9dbfad07f9b4d6ba7fb2e (patch)
treef7c7ebc889b07baac7fb597cfa796d20762cd139 /app/views/projects/pipelines/index.html.haml
parent82ed2a0909823807f3ece2cb29bfc501293361a0 (diff)
downloadgitlab-ce-5941f3a7e8628e8792c9dbfad07f9b4d6ba7fb2e.tar.gz
Implement `Project#has_ci?`
Diffstat (limited to 'app/views/projects/pipelines/index.html.haml')
-rw-r--r--app/views/projects/pipelines/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/index.html.haml b/app/views/projects/pipelines/index.html.haml
index 3ce20378038..579f681abaa 100644
--- a/app/views/projects/pipelines/index.html.haml
+++ b/app/views/projects/pipelines/index.html.haml
@@ -14,7 +14,7 @@
"finished-path" => project_pipelines_path(@project, scope: :finished),
"branches-path" => project_pipelines_path(@project, scope: :branches),
"tags-path" => project_pipelines_path(@project, scope: :tags),
- "has-ci" => @repository.gitlab_ci_yml || @project.auto_devops_enabled?,
+ "has-ci" => @project.has_ci?,
"ci-lint-path" => ci_lint_path } }
= page_specific_javascript_bundle_tag('common_vue')