Commit a56d0d47 authored by Ciro Santilli's avatar Ciro Santilli

Remove unneeded backslash: "\/" == "/"

parent 1b140380
...@@ -66,7 +66,7 @@ module TreeHelper ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment