Skip to content

Commit

Permalink
Fix rendering absolute urls in twig view
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandoorn committed Jun 16, 2017
1 parent bf2383d commit 155f562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/Macro/url.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% macro url(url, should_become_absolute_url) %}
{{ should_become_absolute_url is same as(true) ? absolute_url(url) : url }}
{{ should_become_absolute_url ? absolute_url(url) : url }}
{% endmacro %}

0 comments on commit 155f562

Please sign in to comment.