summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/_matching_tag.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_tags/_matching_tag.html.haml')
-rw-r--r--app/views/projects/protected_tags/_matching_tag.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/protected_tags/_matching_tag.html.haml b/app/views/projects/protected_tags/_matching_tag.html.haml
index f17353df122..05f102d1ca3 100644
--- a/app/views/projects/protected_tags/_matching_tag.html.haml
+++ b/app/views/projects/protected_tags/_matching_tag.html.haml
@@ -6,5 +6,5 @@
%span.label.label-info.prepend-left-5 default
%td
- commit = @project.commit(matching_tag.name)
- = link_to(commit.short_id, namespace_project_commit_path(@project.namespace, @project, commit.id), class: 'commit-sha')
+ = link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')
= time_ago_with_tooltip(commit.committed_date)