hi i have a problem with my routing in symfony. my routing_dev looks like:
_test:
resource: "@MyBundle/Controller/DefaultController.php"
type: annotation
prefix: /test
then i have a controller:
/**
* @Route("/", name="_test")
* @Template()
*/
public function indexAction($name)
{
return array('name' => $name);
}
and when i try to run the /test i get the message:
No route found for "GET /test"
404 Not Found - NotFoundHttpException
1 linked Exception: ResourceNotFoundException »
i dont know where the error is. i need your help. how to find the problem?
EDIT: I'm working with the app_dev.php not app.php