Commit: 8bdfe850546bfc5b867c94a43117a244d06f3c74

Author: Pedro Padron | Date: 2011-08-25 05:45:48 -0300
lithium\data\Source\MongoDB no longer has the entities() method, we must call sources()
diff --git a/controllers/CollectionsController.php b/controllers/CollectionsController.php index 2f21075..df0fe36 100644 --- a/controllers/CollectionsController.php +++ b/controllers/CollectionsController.php @@ -22,7 +22,7 @@ class CollectionsController extends \lithium\action\Controller { } public function index() { - $collections = Connections::get('default')->entities(); + $collections = Connections::get('default')->sources(); if ($this->request->is('ajax')) { $this->render(array( @@ -96,4 +96,4 @@ class CollectionsController extends \lithium\action\Controller { } } -?> \ No newline at end of file +?>