From: Jean-Philippe Lang Date: Wed, 3 Dec 2014 20:26:30 +0000 (+0000) Subject: Removed unused helper. X-Git-Tag: 3.0.0~291 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=795b8df7fcb70328a38b9fb4dc5b2614e165a653;p=redmine.git Removed unused helper. git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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')) +