Skip to content
Discussion options

You must be logged in to vote

You can use the referenceType option which will get passed through as the third argument in the router's generate() method.

In a Twig context, it'd be something like this:

{{ pagerfanta(pager, {referenceType: constant('Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface::ABSOLUTE_URL')} }}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@scion4581
Comment options

Answer selected by scion4581
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants