Skip to content
Snippets Groups Projects
Commit 9cf50550 authored by Robert Schilling's avatar Robert Schilling
Browse files

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

Remove unneeded backslash: "\/" == "/"
parents 876c6f24 a56d0d47
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment