/** * Remove action method * * @return void */ public function remove() { if ($this->request->isPost()) { $form = new Model\Form(); $form->remove($this->request->getPost()); } $this->sess->setRequestValue('removed', true); $this->redirect(BASE_PATH . APP_URI . '/forms'); }