src/Controller/MenusController.php
public function index()
    {
        $menus = $this->Filter->filter($this->Menus->find('all'))->hydrate(false);
        $this->set('menus', $menus);
    }
public function index()
    {
        $menus = $this->Filter->filter($this->Menus->find('all'))->hydrate(false);
        $this->set('menus', $menus);
    }
public function index ( ) { $ menus = $ this -> Filter -> filter ( $ this -> Menus -> find ( 'all' ) ) -> hydrate ( false ) ; $ this -> set ( 'menus' , $ menus ) ; }
index action
GET
index action GET