public function deleteAction($id) { $model = Manager::findFirst($id); if ($this->request->isPost()) { $model->delete(); $this->redirect($this->url->get() . 'seo/manager'); } $this->view->model = $model; $this->helper->title('Deleting SEO-Manager record', true); }