/** * Modify action. Completes the modification of a key profile */ public function modifyAction() { $crypto = new CryptoModel(array('cryptoID' => $this->_getParam('id'))); $crypto->name = $this->_getParam('name'); $crypto->save(); $this->flash('notice', 'Key profile successfully modified'); $this->_redirector->gotoRoute(array('action' => 'index', 'id' => null)); }