validpattern.yml 404 B

12345678910111213
  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. condition: 'context.getMethod() == "GET"'
  9. options:
  10. compiler_class: RouteCompiler
  11. blog_show_inherited:
  12. path: /blog/{slug}