From 795b8df7fcb70328a38b9fb4dc5b2614e165a653 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 3 Dec 2014 20:26:30 +0000 Subject: [PATCH] Removed unused helper. git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 4 ---- 1 file changed, 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')) + -- 2.39.5