src/Controller/AbstractVocabulariesController.php
public function index()
    {
        $vocabularies = $this->paginate($this->Vocabularies);

        $this->set(compact('vocabularies'));
        $this->set('_serialize', ['vocabularies']);
    }
public function index()
    {
        $vocabularies = $this->paginate($this->Vocabularies);

        $this->set(compact('vocabularies'));
        $this->set('_serialize', ['vocabularies']);
    }
Index method

@return \Cake\Network\Response|null