summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-24 17:55:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-24 17:55:45 +0000
commit14e88ec4200554905687a726be04a873a3883e2b (patch)
treeeb72a89de6bdd87a4cc850711bfa5392ebaeef47 /app/views/repositories
parent654ccddd76837ed6b37f312494cc697ad83602d2 (diff)
downloadredmine-14e88ec4200554905687a726be04a873a3883e2b.tar.gz
redmine-14e88ec4200554905687a726be04a873a3883e2b.zip
Fixes revision form when browsing a subdirectory (#4281).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3086 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/_navigation.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_navigation.rhtml b/app/views/repositories/_navigation.rhtml
index d1417a61c..5671e2948 100644
--- a/app/views/repositories/_navigation.rhtml
+++ b/app/views/repositories/_navigation.rhtml
@@ -4,7 +4,7 @@
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
-<% form_tag({:action => controller.action_name, :id => @project, :path => @path, :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
+<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
<!-- Branches Dropdown -->
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
| <%= l(:label_branch) %>: