summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-10-03 13:14:38 +0700
committerMark Fletcher <mark@gitlab.com>2017-10-03 13:14:38 +0700
commit1428f38dd62834f90c2ed3dae17aa673d0585e64 (patch)
tree70692c2a2fe1df096bb0cba9478b2822ae0167f5 /app/views/projects/snippets
parent6c33fb846683ca9213dadaa79b0f32f482ebc0bf (diff)
downloadgitlab-ce-1428f38dd62834f90c2ed3dae17aa673d0585e64.tar.gz
Fix project snippets breadcrumb link
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r--app/views/projects/snippets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index fda068f08c2..7062c5b765e 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -1,5 +1,5 @@
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
-- add_to_breadcrumbs "Snippets", dashboard_snippets_path
+- add_to_breadcrumbs "Snippets", project_snippets_path(@project)
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"