diff options
Diffstat (limited to 'app/views/projects/_last_commit.html.haml')
-rw-r--r-- | app/views/projects/_last_commit.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/_last_commit.html.haml b/app/views/projects/_last_commit.html.haml index e1fea8ccf3d..7f530708947 100644 --- a/app/views/projects/_last_commit.html.haml +++ b/app/views/projects/_last_commit.html.haml @@ -1,8 +1,7 @@ - - ref = local_assigns.fetch(:ref) - status = commit.status(ref) - if status - = link_to pipelines_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{status}" do + = link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{status}" do = ci_icon_for_status(status) = ci_label_for_status(status) |