]> source.dussan.org Git - redmine.git/commitdiff
Removed unused helper.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 3 Dec 2014 20:26:30 +0000 (20:26 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 3 Dec 2014 20:26:30 +0000 (20:26 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index ebe73da3fe866312820f36b4412b071b482cef00..a29b9ea792463cabc839e864c9244d62864f6357 100644 (file)
@@ -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')) +