function create($parameter) { $this->loadSubnav($parameter); parent::create($parameter); }
function create($parameter) { $model =& $this->getDefaultModel(); $model->user_id = (int) $this->_auth->currentUserId(); $this->flash->set('notice', 'Your preference has been saved.'); return parent::create($parameter); }