summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/repositories_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index ebe73da3f..a29b9ea79 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -145,10 +145,6 @@ module RepositoriesHelper
path.to_s.starts_with?('/') ? path : "/#{path}"
end
- def without_leading_slash(path)
- path.gsub(%r{^/+}, '')
- end
-
def subversion_field_tags(form, repository)
content_tag('p', form.text_field(:url, :size => 60, :required => true,
:disabled => !repository.safe_attribute?('url')) +