在app / config / routing中不考虑symfony routing

时间:2014-05-30 12:31:54

标签: symfony routing

这是我的主要路由文件(in app/confige/routing.yml),重点是无论我放置什么路线,它都有效!我有点迷路了!

sdz_administration:
    resource: "@sdzAdministrationBundle/Resources/config/routing.yml"
    prefix:   /{_locale}//whatever

sdz_bikind:
    resource: "@sdzBikindBundle/Resources/config/routing.yml"
    prefix:   /{_locale}//whatever
    requirements:
        _locale: en|fr|es

sdz_user:
    resource: "@sdzUserBundle/Resources/config/routing.yml"
    prefix:   /

我删除了缓存并删除了浏览历史记录。但它没有做任何事情。

0 个答案:

没有答案