summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/tags/_download.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tags/_download.html.haml b/app/views/projects/tags/_download.html.haml
index 10e8f77ac0c..27e0cd7b1f9 100644
--- a/app/views/projects/tags/_download.html.haml
+++ b/app/views/projects/tags/_download.html.haml
@@ -18,7 +18,7 @@
- if artifacts.any?
%li.dropdown-header Artifacts
- unless pipeline.latest?
- - latest_pipeline = @project.pipeline_for(ref)
+ - latest_pipeline = project.pipeline_for(ref)
%li
%span= latest_pipeline.status.humanize
%li.dropdown-header Previous Artifacts