]> source.dussan.org Git - redmine.git/commitdiff
Fixes revision form when browsing a subdirectory (#4281).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 24 Nov 2009 17:55:45 +0000 (17:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 24 Nov 2009 17:55:45 +0000 (17:55 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3086 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/_navigation.rhtml

index d1417a61c11222ee6dd52de09b33c2c2f26cc78d..5671e294883c563b9015b3ee27637f16d069c7ad 100644 (file)
@@ -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) %>: