I'm updating a site that was Cake Php and I'm having Rota problem.
In app\config\routes.ctp
are the rules below and it works:
Router::connect(
'/curia/anuario',
array( 'controller' => 'pages', 'action' => 'anuario' )
);
This one below does not work:
Router::connect(
'/curia/teste',
array( 'controller' => 'pages', 'action' => 'teste' )
);
Others do not work
The files are in app\views\pages
Within pages I have anuario.ctp
and I have teste.ctp
teste.ctp
does not work, of error 404.
Is there any other place where it should be configured?