Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法更改html应用程序中所有路由的默认 RequestFormat?
html
这可能有效,但我需要将其设置为每个单独的路线:
article_show: pattern: /articles/{culture}/{year}/{title}.{_format} defaults: { _controller: AcmeDemoBundle:Article:show, _format: %global_format% }