public function actionDefault($id) { $this->list = $this->taskLists->find($id); if ($this->list === FALSE) { $this->setView('notFound'); } }