explicitly define route at scm diff view. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10509 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
f27a0eca5b
commit
65a6e3985e
1 file changed
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
<h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%=h @path %></h2>
|
<h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%=h @path %></h2>
|
||||||
|
|
||||||
<!-- Choose view type -->
|
<!-- Choose view type -->
|
||||||
<%= form_tag({:path => to_path_param(@path)}, :method => 'get') do %>
|
<%= form_tag({:action => 'diff', :id => @project,
|
||||||
<%= hidden_field_tag('rev', params[:rev]) if params[:rev] %>
|
:repository_id => @repository.identifier_param,
|
||||||
|
:path => to_path_param(@path), :rev=> @rev}, :method => 'get') do %>
|
||||||
<%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %>
|
<%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %>
|
||||||
<p>
|
<p>
|
||||||
<label><%= l(:label_view_diff) %></label>
|
<label><%= l(:label_view_diff) %></label>
|
||||||
|
|||||||
Reference in new issue
Block a user