/** * Change the active status of a flag on development * * @access public * @return void */ public function toggledevAction() { $id = $this->getRequest()->getParam('id'); $flagModel = new Flag(); $flagModel->toggleFlag($id, APP_STATE_DEVELOPMENT); App_FlagFlippers_Manager::save(); $this->_redirect('/flags/'); }