@@ -145,10 +145,6 module RepositoriesHelper | |||||
145 | path.to_s.starts_with?('/') ? path : "/#{path}" |
|
145 | path.to_s.starts_with?('/') ? path : "/#{path}" | |
146 | end |
|
146 | end | |
147 |
|
147 | |||
148 | def without_leading_slash(path) |
|
|||
149 | path.gsub(%r{^/+}, '') |
|
|||
150 | end |
|
|||
151 |
|
||||
152 | def subversion_field_tags(form, repository) |
|
148 | def subversion_field_tags(form, repository) | |
153 | content_tag('p', form.text_field(:url, :size => 60, :required => true, |
|
149 | content_tag('p', form.text_field(:url, :size => 60, :required => true, | |
154 | :disabled => !repository.safe_attribute?('url')) + |
|
150 | :disabled => !repository.safe_attribute?('url')) + |
General Comments 0
You need to be logged in to leave comments.
Login now