function ControllerDeleteAction() { if ($this->request->id) { $c = new ControllerModel(); $c->delete($this->request->id); } Project::getResponse()->redirect($this->request->createUrl('Dev', 'Controllers')); }