Project

General

Profile

Patch #1790 » raise_latest_projects_amount_to_10-r1745.patch

Patch created against r1745 - Mischa The Evil, 2008-08-14 15:46

View differences:

app/models/project.rb (working copy)
88 88

  
89 89
  # returns latest created projects
90 90
  # non public projects will be returned only if user is a member of those
91
  def self.latest(user=nil, count=5)
91
  def self.latest(user=nil, count=10)
92 92
    find(:all, :limit => count, :conditions => visible_by(user), :order => "created_on DESC")	
93 93
  end	
94 94

  
(1-1/2)