diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-09-18 16:50:08 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-09-18 16:50:08 +0000 |
commit | 099761d8fbba3d33cd34c9ef24bcdbe09d84232d (patch) | |
tree | f28eac79a50984672ccc9227f5ea5c52493c12ee /app | |
parent | ffdaead5b72966c7e4f74cca4d5951cc3cefc4c4 (diff) | |
download | redmine-099761d8fbba3d33cd34c9ef24bcdbe09d84232d.tar.gz redmine-099761d8fbba3d33cd34c9ef24bcdbe09d84232d.zip |
Fixes switching between inline and side-by-side in diff view with path. #6242
Contributed by Felix Schäfer
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4100 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 36e86403f..24f92a540 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({:path => @path}, :method => 'get') do %> +<% form_tag({:path => to_path_param(@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> |