summaryrefslogtreecommitdiff
path: root/app/views/projects/_last_commit.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-13 15:58:22 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-13 15:58:22 +0200
commit251a78022d12c62ff738540d4104bbf0730ef234 (patch)
tree974e0f82fcc947a6ca5abf742fc87ebd406ce4cc /app/views/projects/_last_commit.html.haml
parent4af0968c43d517a3d702658749b5117ba4b9e11a (diff)
downloadgitlab-ce-251a78022d12c62ff738540d4104bbf0730ef234.tar.gz
Cleanup changes
Diffstat (limited to 'app/views/projects/_last_commit.html.haml')
-rw-r--r--app/views/projects/_last_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_last_commit.html.haml b/app/views/projects/_last_commit.html.haml
index 6eccbaa4bfa..66c30283c7a 100644
--- a/app/views/projects/_last_commit.html.haml
+++ b/app/views/projects/_last_commit.html.haml
@@ -1,6 +1,6 @@
.project-last-commit
- if commit.status
- = link_to project_commit_path(commit.project, commit), class: "ci-status ci-#{commit.status}" do
+ = link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{commit.status}" do
= ci_icon_for_status(commit.status)
= ci_label_for_status(commit.status)