Fixes argument in Repository#latest_changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2842 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-08-17 14:12:51 +00:00
parent a49506ce5f
commit 6fb80efdae
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class Repository < ActiveRecord::Base
end
def latest_changesets(path,rev,limit=10)
@latest_changesets ||= changesets.find(:all, limit, :order => "committed_on DESC")
@latest_changesets ||= changesets.find(:all, :limit => limit, :order => "committed_on DESC")
end
def scan_changesets_for_issue_ids