revision_rhtml_rails2_1_incompatibility_fix.diff

Go MAEDA, 2008-07-08 06:31

Download (713 Bytes)

View differences:

app/views/repositories/revision.rhtml (working copy)
50 50
<% if change.action == "D" -%>
51 51
    <%= change.path -%>
52 52
<% else -%>
53
    <%= link_to change.path, :action => 'entry', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision -%>
53
    <%= link_to change.path, :action => 'entry', :id => @project, :path => to_path_param(change.relative_path), :rev => @changeset.revision -%>
54 54
<% end -%>
55 55
<%= "(#{change.revision})" unless change.revision.blank?  %></td>
56 56
<td align="right">