Commit 6fb80efd authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes argument in Repository#latest_changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2842 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a49506ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment