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