summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-17 10:42:04 +0100
committerPhil Hughes <me@iamphill.com>2017-08-18 11:07:05 +0100
commitdae629e5e9a75ef0594399b46191306dcbaab90b (patch)
tree153bc29edb3732c87cfa40faf4ed591b560d4e74 /app/views/projects/snippets
parenta10cc2202dffcf8b4a7bc7db22757ac83bf95eb4 (diff)
downloadgitlab-ce-dae629e5e9a75ef0594399b46191306dcbaab90b.tar.gz
fix some inconsistencies with the breadcrumbs
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r--app/views/projects/snippets/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index ff59d26441f..fda068f08c2 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -1,5 +1,6 @@
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
-- breadcrumb_title "Snippet #{@snippet.to_reference}"
+- add_to_breadcrumbs "Snippets", dashboard_snippets_path
+- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"
= render 'shared/snippets/header'