From ff98169a506a7d16c05fe936a8bd8e9545307d68 Mon Sep 17 00:00:00 2001 From: Peter Gribanov Date: Thu, 19 Mar 2020 20:38:13 +0300 Subject: [PATCH] tagging PaginationParamConverter service --- src/Resources/config/services.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/config/services.yml b/src/Resources/config/services.yml index fd262ef..0d283fd 100644 --- a/src/Resources/config/services.yml +++ b/src/Resources/config/services.yml @@ -5,6 +5,8 @@ services: GpsLab\Bundle\PaginationBundle\ParamConverter\PaginationParamConverter: arguments: [ '@router', '%pagination.max_navigate%', '%pagination.parameter_name%' ] + tags: + - { name: request.param_converter, priority: -2, converter: pagination_converter } pagination.twig_extension: class: GpsLab\Bundle\PaginationBundle\Twig\Extension\PaginationExtension