public function indexAction() { if (!$this->session->get('auth')) { $this->response->redirect('/admin/auth/'); } $responses = Response::find(); $this->view->responses = $responses; }