Don't include related models in Storage index

pull/2283/head
Isaac Connor 2018-10-29 14:40:05 -04:00
parent 6691b5fb52
commit 39061038fb
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class StorageController extends AppController {
* @return void
*/
public function index() {
$this->Storage->recursive = 0;
$this->Storage->recursive = -1;
$options = '';
$storage_areas = $this->Storage->find('all',$options);