Merge pull request #8241 from cirosantilli/rm-unneeded-backslash

Remove unneeded backslash: "\/" == "/"
This commit is contained in:
Robert Schilling 2014-11-04 14:03:50 +01:00
commit 9cf50550d7
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ module TreeHelper
def tree_breadcrumbs(tree, max_links = 2)
if @path.present?
part_path = ""
parts = @path.split("\/")
parts = @path.split('/')
yield('..', nil) if parts.count > max_links