Replace configs/keyvalue functionality with CRUD

This commit is contained in:
Kyle Johnson 2015-02-27 11:20:45 -05:00
parent a228a5077c
commit 8c8ae6ae6f
3 changed files with 3 additions and 12 deletions

View File

@ -40,7 +40,8 @@ class AppController extends Controller {
'index' => 'Crud.Index',
'add' => 'Crud.Add',
'edit' => 'Crud.Edit',
'view' => 'Crud.View'
'view' => 'Crud.View',
'keyvalue' => 'Crud.List'
],
'listeners' => ['Api', 'ApiTransformation']
]

View File

@ -141,15 +141,5 @@ class ConfigsController extends AppController {
}
}
public function keyValue() {
$keyValues = $this->Config->find('list', array(
'fields' => array('Config.Name', 'Config.Value')
));
$this->set(array(
'keyValues' => $keyValues,
'_serialize' => array('keyValues')
));
}
}

@ -1 +1 @@
Subproject commit 6faf8df67fb788351e00e9401670558cad3dab05
Subproject commit 622d3cc5c8ea3629e8e4a85e2cb2a7770409aab7