我有这个错误
找不到“GET /sn/”的路由
而这个..在parameters.yml
parameters:
[...]
client_abv: sn
还有我的 routing.yml 文件:
_internal:
resource: "@FrameworkBundle/Resources/config/routing/internal.xml"
prefix: /_internal
ClientResultBundle_Admin:
resource: "@ClientResultBundle/Resources/config/routing/admin.yml"
prefix: /%client_abv%/admin
ClientResultBundle_PointDeVente:
resource: "@ClientResultBundle/Resources/config/routing/pointdevente.yml"
prefix: /%client_abv%/pointdevente
ClientResultBundle_Sn:
resource: "@ClientResultBundle/Resources/config/routing/sn.yml"
prefix: /%client_abv%
ClientResultBundle:
resource: "@ClientResultBundle/Resources/config/routing.yml"
prefix: /%client_abv%
那么为什么命令控制台route:match /sn/
可以工作而不是在浏览器中呢?