Skip to content

Commit

Permalink
[PATCH] Remove deprecated twig calls
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Nov 1, 2019
1 parent b2a6b61 commit dd06cbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bridge/Symfony/Resources/views/Pager/pagination.html.twig
@@ -1,11 +1,11 @@
{% macro pageLink(urlPath, urlParams, i) %}
{% spaceless %}
{% apply spaceless %}
{% if i > 1 %}
{{ path(urlPath, urlParams|merge( { 'page': i }) ) }}
{% else %}
{{ path(urlPath, urlParams) }}
{% endif %}
{% endspaceless %}
{% endapply %}
{% endmacro %}

{% if urlParams is not defined %}
Expand Down

0 comments on commit dd06cbb

Please sign in to comment.