project->countByStatus(Project::ACTIVE)) { $this->response->redirect('?controller=board'); } else { $this->redirectNoProject(); } } }