summaryrefslogtreecommitdiff
path: root/app/views/snippets/_snippet.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/_snippet.html.haml')
-rw-r--r--app/views/snippets/_snippet.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/_snippet.html.haml b/app/views/snippets/_snippet.html.haml
index c584dd8dfb6..5bb28664349 100644
--- a/app/views/snippets/_snippet.html.haml
+++ b/app/views/snippets/_snippet.html.haml
@@ -11,7 +11,7 @@
%small.pull-right.cgray
- if snippet.project_id?
- = link_to snippet.project.name_with_namespace, project_path(snippet.project)
+ = link_to snippet.project.name_with_namespace, namespace_project_path(snippet.project.namespace, snippet.project)
.snippet-info
= "##{snippet.id}"