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