Merge pull request #8241 from cirosantilli/rm-unneeded-backslash
Remove unneeded backslash: "\/" == "/"
This commit is contained in:
commit
9cf50550d7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ module TreeHelper
|
||||||
def tree_breadcrumbs(tree, max_links = 2)
|
def tree_breadcrumbs(tree, max_links = 2)
|
||||||
if @path.present?
|
if @path.present?
|
||||||
part_path = ""
|
part_path = ""
|
||||||
parts = @path.split("\/")
|
parts = @path.split('/')
|
||||||
|
|
||||||
yield('..', nil) if parts.count > max_links
|
yield('..', nil) if parts.count > max_links
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue