Ejemplo n.º 1
0
 public function deleteAction()
 {
     if ($this->getRequest()->isSecure()) {
         $articleMapper = new ArticleMapper();
         $articleMapper->delete($this->getRequest()->getParam('id'));
     }
     $this->redirect(array('action' => 'index'));
 }