From 9ce5713ee49166a826fcd4355aab825070ddfa07 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 15 Oct 2007 18:41:27 +0000 Subject: Fixed: log is not displayed when browsing a copy in a svn repository. git-svn-id: http://redmine.rubyforge.org/svn/trunk@843 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/repositories_controller.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 12439cfab..9439481e2 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -62,9 +62,7 @@ class RepositoriesController < ApplicationController def changes @entry = @repository.scm.entry(@path, @rev) show_error and return unless @entry - @changes = Change.find(:all, :include => :changeset, - :conditions => ["repository_id = ? AND path = ?", @repository.id, @path.with_leading_slash], - :order => "committed_on DESC") + @changesets = @repository.changesets_for_path(@path) end def revisions -- cgit v1.2.3