Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-17 12:42:04 +0300
committerPhil Hughes <me@iamphill.com>2017-08-18 13:07:05 +0300
commitdae629e5e9a75ef0594399b46191306dcbaab90b (patch)
tree153bc29edb3732c87cfa40faf4ed591b560d4e74 /app/views/snippets
parenta10cc2202dffcf8b4a7bc7db22757ac83bf95eb4 (diff)
fix some inconsistencies with the breadcrumbs
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 706f13dd004..578327883e5 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -1,5 +1,7 @@
- @hide_top_links = true
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
+- add_to_breadcrumbs "Snippets", dashboard_snippets_path
+- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"
= render 'shared/snippets/header'