From: Jean-Philippe Lang Date: Tue, 24 Nov 2009 17:55:45 +0000 (+0000) Subject: Fixes revision form when browsing a subdirectory (#4281). X-Git-Tag: 0.9.0~176 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14e88ec4200554905687a726be04a873a3883e2b;p=redmine.git 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 --- 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 -%> <% if !@repository.branches.nil? && @repository.branches.length > 0 -%> | <%= l(:label_branch) %>: