コード例 #1
0
ファイル: Index.php プロジェクト: prepare4battle/Ilch-2.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'));
 }