summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-24 05:59:42 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-24 05:59:42 +0000
commit3a20d13262017df23f7ef68cdc3baa4fa1625eaf (patch)
tree9cb8536191c867b82c8e63c558c69c80320936e9 /app
parent61667a2171c07343bf12b32f09dd6f38bd2e85f6 (diff)
downloadredmine-3a20d13262017df23f7ef68cdc3baa4fa1625eaf.tar.gz
redmine-3a20d13262017df23f7ef68cdc3baa4fa1625eaf.zip
scm: filesystem: add path encoding select item (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4943 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/repositories_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 2ecdf9f83..d314c90c9 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -222,5 +222,7 @@ module RepositoriesHelper
content_tag('p', form.text_field(:url, :label => 'Root directory',
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)))
+ content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
+ :label => 'Path encoding'))
end
end