summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-09 11:45:40 -0600
committerMike Greiling <mike@pixelcog.com>2016-12-10 00:57:23 -0600
commit6dc4007ad6c775a8d82bb1e3e2e15ec6e8143b14 (patch)
tree122493be997567cacc77a4df79728d8706a8ef9b
parent0608ecbc69c991efcf56f7872cf1b06416d4bd10 (diff)
downloadgitlab-ce-6dc4007ad6c775a8d82bb1e3e2e15ec6e8143b14.tar.gz
fix snippets reference id in search results (should be $ not #)
-rw-r--r--app/views/search/results/_snippet_title.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_snippet_title.html.haml b/app/views/search/results/_snippet_title.html.haml
index c414acb6a11..027d42396b4 100644
--- a/app/views/search/results/_snippet_title.html.haml
+++ b/app/views/search/results/_snippet_title.html.haml
@@ -14,7 +14,7 @@
= link_to snippet_title.project.name_with_namespace, namespace_project_path(snippet_title.project.namespace, snippet_title.project)
.snippet-info
- = "##{snippet_title.id}"
+ = snippet_title.to_reference
%span
by
= link_to user_snippets_path(snippet_title.author) do