]>
Commit | Line | Data |
---|---|---|
4f5b44bd NL |
1 | blog_show: |
2 | path: /blog/{slug} | |
3 | defaults: { _controller: "MyBundle:Blog:show" } | |
4 | host: "{locale}.example.com" | |
5 | requirements: { 'locale': '\w+' } | |
6 | methods: ['GET','POST','put','OpTiOnS'] | |
7 | schemes: ['https'] | |
8 | options: | |
9 | compiler_class: RouteCompiler | |
10 | ||
11 | blog_show_legacy: | |
12 | pattern: /blog/{slug} | |
13 | defaults: { _controller: "MyBundle:Blog:show" } | |
14 | host: "{locale}.example.com" | |
15 | requirements: { '_method': 'GET|POST|put|OpTiOnS', _scheme: https, 'locale': '\w+' } | |
16 | options: | |
17 | compiler_class: RouteCompiler |