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