Fixes links to entries on the revision view (Rails 2.1 compatibility) (#1600).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1648 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bb76561ca6
commit
de3d5a88e4
|
@ -50,7 +50,7 @@
|
||||||
<% if change.action == "D" -%>
|
<% if change.action == "D" -%>
|
||||||
<%= change.path -%>
|
<%= change.path -%>
|
||||||
<% else -%>
|
<% else -%>
|
||||||
<%= link_to change.path, :action => 'entry', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision -%>
|
<%= link_to change.path, :action => 'entry', :id => @project, :path => to_path_param(change.relative_path), :rev => @changeset.revision -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<%= "(#{change.revision})" unless change.revision.blank? %></td>
|
<%= "(#{change.revision})" unless change.revision.blank? %></td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
|
|
Loading…
Reference in New Issue