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:
parent
a49506ce5f
commit
6fb80efdae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue