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