Note = MooCore::getInstance()->getModel('Note'); $notes = $this->Note->find('all', array( 'conditions' => array('uri' => $controller->request->here), 'limit' => 1, 'order' => array('Note.id' => 'DESC') )); $controller->set('notes',$notes); }