diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-11-04 14:03:50 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-11-04 14:03:50 +0100 |
commit | 9cf50550d7a7616cd5dba382bdd7c65473a9c95d (patch) | |
tree | 8c213fb535756b63aea6f260bed42df5c61d9dd5 | |
parent | 876c6f24919926f423c5e3521375fcc63ad0fdf1 (diff) | |
parent | a56d0d47db5b11787472fbed37f23c60bf0e57fe (diff) | |
download | gitlab-ce-9cf50550d7a7616cd5dba382bdd7c65473a9c95d.tar.gz |
Merge pull request #8241 from cirosantilli/rm-unneeded-backslash
Remove unneeded backslash: "\/" == "/"
-rw-r--r-- | app/helpers/tree_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 9c611a1c147..8e209498323 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -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 |