From 082b2fa86f200160221f16a5f8c260e03e2949e3 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 22 Sep 2015 14:16:09 +0200 Subject: [PATCH] Update routing.yml Replace deprecated "pattern" and "_method" by "path" and "methods" --- Resources/config/routing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/config/routing.yml b/Resources/config/routing.yml index 391a0b370..1de24543e 100644 --- a/Resources/config/routing.yml +++ b/Resources/config/routing.yml @@ -1,5 +1,5 @@ nelmio_api_doc_index: - pattern: /{view} + path: /{view} defaults: { _controller: NelmioApiDocBundle:ApiDoc:index, view: 'default' } requirements: - _method: GET + methods: GET