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-09-06 13:55:23 +0300
committerPhil Hughes <me@iamphill.com>2017-09-06 13:55:23 +0300
commitde82bd8e447ae7b4b7e66f0368f5f43311848186 (patch)
tree19e49f95e95d12f995176b33a84ff894e6ccfc19 /app/helpers/wiki_helper.rb
parent68e9372acd2285055df70cdf84665febfb496166 (diff)
fixed up JS to use a js-* class
fixed up Ruby based on review
Diffstat (limited to 'app/helpers/wiki_helper.rb')
-rw-r--r--app/helpers/wiki_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb
index 3d26c92e58a..815fab9e061 100644
--- a/app/helpers/wiki_helper.rb
+++ b/app/helpers/wiki_helper.rb
@@ -17,7 +17,7 @@ module WikiHelper
current_slug = ""
page_slug_split
.map do |dir_or_page|
- current_slug = "#{current_slug}/#{dir_or_page}"
+ current_slug = "#{current_slug}#{dir_or_page}/"
add_to_breadcrumb_dropdown link_to(WikiPage.unhyphenize(dir_or_page).capitalize, project_wiki_path(@project, current_slug)), location: :after
end
end