It's project, not @project

This commit is contained in:
Lin Jen-Shin 2016-08-16 01:15:29 +08:00
parent 73bbaffbfc
commit 16b63664f9
1 changed files with 1 additions and 1 deletions

View File

@ -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