I have to pass two parameters in the routing annotations, but I get 404 not found
and I don't know why?
<?php
/**
*@RoutePrefix("/Product")
*/
class ProductController extends BaseController
{
/**
* @Get("/select/{serial:[a-z0-9]}/{id:[0-9]}")
*/
public function selectAction($serial,$id){
...
}
}
and the path that appears in the browser is:
sipv/product?serial=aad123&id=12
the correct path is
sipv/product/aad123/12
but i don't know for configure the route