I wonder how I can put controllers in subfolders in Cake? I made the following change in bootstrap.php but it did not work:
App::build(array(
'Controller' => array(
ROOT . 'app/Controller/Admin/'
)
));
That is, inside the Controller folder, I have a folder called Admin. I left this folder, I created a Controller called AdmController and created a function there for tests called test, but it does not work. I put the path in the browser:
http://localhost/cake/admin/adm/teste
and says that I have to create the AdminController inside the Controller folder
Does anyone know what might be happening?
Thank you