summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:20:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:20:21 +0000
commitd46e3a501e7bad4242d896de36f02c19b8781143 (patch)
tree85fb8a12da0ad944ede83fff3123954d960bf760 /app/views
parentd4e47d5d649844aa2d29b79334946cf4765c8482 (diff)
downloadredmine-d46e3a501e7bad4242d896de36f02c19b8781143.tar.gz
redmine-d46e3a501e7bad4242d896de36f02c19b8781143.zip
Pretty URL for the repository browser (Cyril Mougel)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@880 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/repositories/_revisions.rhtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/repositories/_revisions.rhtml b/app/views/repositories/_revisions.rhtml
index 1cdc45a35..c12488d33 100644
--- a/app/views/repositories/_revisions.rhtml
+++ b/app/views/repositories/_revisions.rhtml
@@ -1,4 +1,4 @@
-<% form_tag({:controller => 'repositories', :action => 'diff', :id => @project}, :method => :get) do %>
+<% form_tag({:controller => 'repositories', :action => 'diff', :id => @project, :path => path}, :method => :get) do %>
<table class="list">
<thead><tr>
<th>#</th>
@@ -24,6 +24,5 @@
<% end %>
</tbody>
</table>
-<%= hidden_field_tag 'path', path %>
<%= submit_tag(l(:label_view_diff), :class => 'small', :name => nil) if show_diff %>
<% end %>