diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-13 06:09:38 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-13 06:09:38 +0000 |
commit | 32f6fa5b00982314a16fb013a9f474dc2ae2196c (patch) | |
tree | b868564a3f03d3855d5061e8b7f271420245c2c3 /app/views/repositories | |
parent | f18b126fba301d32474357f05aeab6c39958153c (diff) | |
download | redmine-32f6fa5b00982314a16fb013a9f474dc2ae2196c.tar.gz redmine-32f6fa5b00982314a16fb013a9f474dc2ae2196c.zip |
Fixed: changing view style in repository/diff doesn't keep previously selected file. #6045
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3939 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/diff.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml index 73e13abf4..36e86403f 100644 --- a/app/views/repositories/diff.rhtml +++ b/app/views/repositories/diff.rhtml @@ -1,7 +1,7 @@ <h2><%= l(:label_revision) %> <%= format_revision(@rev_to) + ':' if @rev_to %><%= format_revision(@rev) %> <%=h @path %></h2> <!-- Choose view type --> -<% form_tag({}, :method => 'get') do %> +<% form_tag({:path => @path}, :method => 'get') do %> <%= hidden_field_tag('rev', params[:rev]) if params[:rev] %> <%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %> <p><label><%= l(:label_view_diff) %></label> |