[38298] branches/gsoc08-mpwa/app/controllers/home_controller.rb
digx at macports.org
digx at macports.org
Mon Jul 14 21:46:45 PDT 2008
Revision: 38298
http://trac.macosforge.org/projects/macports/changeset/38298
Author: digx at macports.org
Date: 2008-07-14 21:46:44 -0700 (Mon, 14 Jul 2008)
Log Message:
-----------
Fixed homepage for new Package model
Modified Paths:
--------------
branches/gsoc08-mpwa/app/controllers/home_controller.rb
Modified: branches/gsoc08-mpwa/app/controllers/home_controller.rb
===================================================================
--- branches/gsoc08-mpwa/app/controllers/home_controller.rb 2008-07-15 04:46:24 UTC (rev 38297)
+++ branches/gsoc08-mpwa/app/controllers/home_controller.rb 2008-07-15 04:46:44 UTC (rev 38298)
@@ -1,5 +1,5 @@
class HomeController < ApplicationController
def index
- @recent_pkgs = PortPkg.find(:all, :order => 'submitted_at desc', :limit => 25)
+ @recent_pkgs = Package.find(:all, :order => 'submitted_at desc', :limit => 25)
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080714/40c77c32/attachment.html
More information about the macports-changes
mailing list