diff options
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index d2d04604d..d7d7f4349 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -55,7 +55,7 @@ module RepositoriesHelper def with_leading_slash(path) path ||= '' - path.starts_with?("/") ? "/#{path}" : path + path.starts_with?('/') ? path : "/#{path}" end def subversion_field_tags(form, repository) |