Skip to content

Commit

Permalink
Fixes switching between inline and side-by-side in diff view with pat…
Browse files Browse the repository at this point in the history
…h. #6242

Contributed by Felix Schäfer
  • Loading branch information
thegcat committed Sep 18, 2010
1 parent bd193a0 commit 0392b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/repositories/diff.rhtml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 0392b9f

Please sign in to comment.