Commit: 899523cf1342bb0a55b7db3eb0447472896d3b3c

Author: gwoo | Date: 2010-01-25 13:59:23 -0800
fixing HomeController
diff --git a/controllers/HomeController.php b/controllers/HomeController.php index 8fc23f0..3b345fe 100644 --- a/controllers/HomeController.php +++ b/controllers/HomeController.php @@ -22,14 +22,14 @@ class HomeController extends \lithium\action\Controller { */ public function index() { $pluginParams = array( - 'conditions'=> array('design' => 'latest', 'view' => 'all'), + 'conditions'=> array('design' => 'latest', 'view' => 'plugins'), 'order' => array('descending' => 'true'), 'limit' => '10', ); $latestPlugins = Plugin::all($pluginParams); - + $extensionParams = array( - 'conditions'=> array('design' => 'latest', 'view' => 'all'), + 'conditions'=> array('design' => 'latest', 'view' => 'extensions'), 'order' => array('descending' => 'true'), 'limit' => '10', );