Update routing.yml

Replace deprecated "pattern" and "_method" by "path" and "methods"
This commit is contained in:
Jonathan 2015-09-22 14:16:09 +02:00
parent 874c8752e6
commit 082b2fa86f

View File

@ -1,5 +1,5 @@
nelmio_api_doc_index:
pattern: /{view}
path: /{view}
defaults: { _controller: NelmioApiDocBundle:ApiDoc:index, view: 'default' }
requirements:
_method: GET
methods: GET