From 6fb80efdae9a748e5a87ebe0e8608135e6ba4ccd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 17 Aug 2009 14:12:51 +0000 Subject: [PATCH] Fixes argument in Repository#latest_changesets. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2842 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository.rb b/app/models/repository.rb index 860395b5c..9ab4fbae2 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -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