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
This commit is contained in:
Jean-Philippe Lang
2007-10-15 18:41:27 +00:00
parent b9cc65db61
commit 9ce5713ee4
5 changed files with 17 additions and 7 deletions
+1 -3
View File
@@ -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