diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-04 11:16:53 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-04 11:16:53 +0100 |
commit | a56d0d47db5b11787472fbed37f23c60bf0e57fe (patch) | |
tree | 733c1bec54e715b0f7a3564684072f6e663ea584 /app/helpers/tree_helper.rb | |
parent | 1b1403804e03db3cea3ad6a84dcfead449ed29d5 (diff) | |
download | gitlab-ce-a56d0d47db5b11787472fbed37f23c60bf0e57fe.tar.gz |
Remove unneeded backslash: "\/" == "/"
Diffstat (limited to 'app/helpers/tree_helper.rb')
-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 |