Commit 16b63664 authored by Lin Jen-Shin's avatar Lin Jen-Shin

It's project, not @project

parent 73bbaffb
......@@ -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
......
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