summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/revision.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/repositories/revision.rhtml')
-rw-r--r--app/views/repositories/revision.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml
index d017a79f7..22e965090 100644
--- a/app/views/repositories/revision.rhtml
+++ b/app/views/repositories/revision.rhtml
@@ -24,7 +24,7 @@
<td><div class="square action_<%= path[:action] %>"></div> <%= path[:path] %></td>
<td>
<% if path[:action] == "M" %>
-<%= link_to 'View diff', :action => 'diff', :id => @project, :path => path[:path].gsub(/^\//, ''), :rev => @revision.identifier %>
+<%= link_to 'View diff', :action => 'diff', :id => @project, :path => path[:path], :rev => @revision.identifier %>
<% end %>
</td>
</tr>