Skip to content

Commit

Permalink
tagging PaginationParamConverter service
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Mar 19, 2020
1 parent 7e15e75 commit ff98169
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff98169

Please sign in to comment.