Browse Source

Fixes argument in Repository#latest_changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2842 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.9.0
Jean-Philippe Lang 15 years ago
parent
commit
6fb80efdae
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/repository.rb

+ 1
- 1
app/models/repository.rb 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

Loading…
Cancel
Save