Ejemplo n.º 1
0
 public function delAction()
 {
     if ($this->getRequest()->isSecure()) {
         $historyMapper = new HistoryMapper();
         $historyMapper->delete($this->getRequest()->getParam('id'));
         $this->addMessage('deleteSuccess');
     }
     $this->redirect(array('action' => 'index'));
 }