diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-06 13:55:23 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-06 13:55:23 +0300 |
commit | de82bd8e447ae7b4b7e66f0368f5f43311848186 (patch) | |
tree | 19e49f95e95d12f995176b33a84ff894e6ccfc19 /app/helpers/wiki_helper.rb | |
parent | 68e9372acd2285055df70cdf84665febfb496166 (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.rb | 2 |
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 |