diff options
author | Phil Hughes <me@iamphill.com> | 2017-08-17 10:42:04 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-18 11:07:05 +0100 |
commit | dae629e5e9a75ef0594399b46191306dcbaab90b (patch) | |
tree | 153bc29edb3732c87cfa40faf4ed591b560d4e74 /app/views/projects/snippets | |
parent | a10cc2202dffcf8b4a7bc7db22757ac83bf95eb4 (diff) | |
download | gitlab-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.haml | 3 |
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' |