示例#1
0
 public function updateAction()
 {
     if ($this->getRequest()->isSecure()) {
         $privacyMapper = new PrivacyMapper();
         $privacyMapper->update($this->getRequest()->getParam('id'));
         $this->addMessage('saveSuccess');
     }
     $this->redirect(array('action' => 'index'));
 }