diff --git a/web/api/app/Controller/ConfigsController.php b/web/api/app/Controller/ConfigsController.php index 998e240fa..a1652578f 100644 --- a/web/api/app/Controller/ConfigsController.php +++ b/web/api/app/Controller/ConfigsController.php @@ -20,8 +20,10 @@ class ConfigsController extends AppController { * @return void */ public function index() { - $this->Config->recursive = 0; - $configs = $this->Config->find('all'); + $configs = $this->Config->find('hash', array( + 'fields' => array('Config.Name', 'Config.Value', 'Config.Hint', 'Config.Id') + )); + $this->set(array( 'configs' => $configs, '_serialize' => array('configs')