summaryrefslogtreecommitdiff
path: root/app/views/search/results/_issue.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/results/_issue.html.haml')
-rw-r--r--app/views/search/results/_issue.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_issue.html.haml b/app/views/search/results/_issue.html.haml
index 796782035f2..1f055cdfa31 100644
--- a/app/views/search/results/_issue.html.haml
+++ b/app/views/search/results/_issue.html.haml
@@ -1,7 +1,7 @@
.search-result-row
%h4
= confidential_icon(issue)
- = link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
+ = link_to namespace_project_issue_path(issue.project.namespace.becomes(Namespace), issue.project, issue) do
%span.term.str-truncated= issue.title
- if issue.closed?
%span.badge.badge-danger.prepend-left-5= _("Closed")