From 193b2450f47a8e6eb9f6ff6fc5a6895e469b78eb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 24 May 2008 17:58:34 +0000 Subject: Fixed: View differences for individual file of a changeset fails if the subversion repository URL doesn't point to the repository root (#1209, #1262, #1275). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1446 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/revision.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/repositories') diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index f1e176669..2fdf58faf 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -49,7 +49,7 @@
<%= change.path %> <%= "(#{change.revision})" unless change.revision.blank? %> <% if change.action == "M" %> -<%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => without_leading_slash(change.path), :rev => @changeset.revision %> +<%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision %> <% end %> -- cgit v1.2.3