Skip to content

Commit

Permalink
Merge pull request #46 from peter-gribanov/param_converter_tagging
Browse files Browse the repository at this point in the history
Tagging PaginationParamConverter service
  • Loading branch information
peter-gribanov authored Mar 19, 2020
2 parents 1523291 + ff98169 commit 071ab86
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 071ab86

Please sign in to comment.