Y have this /src/AppBundle/Resources/views/tests/index.html.twig which just contains:
{{text}}
And is controlled from /src/AppBundle/Controller/TestsController.php which was working fine with a Route over the function that renders "text". Now i want to have a routes file which I've located at /src/AppBundle/Resources/config/routing.yml. Apparently in older versions this could be done with:
tests_index:
path: /tests/index
defaults: [_controller: AppBundle:Tests:index]
But maybe I'm missing something or the newer Symfony isn't buying it when I try to reach it at http://localhost/project/web/tests/index. The error is:
Unable to find the controller for path "/pruebas/index". The route is wrongly configured.