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