Skip to content

Conversation

javiereguiluz
Copy link
Member

This fixes #7003.

.. code-block:: twig
{% extends "@App/layout.html.twig" %}
{{ include('@App/Foo/bar.html.twig') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we use tis:

- {{ include('@App/Foo/bar.html.twig') }} + {% include '@App/Foo/bar.html.twig' %}

or is the current one the recommended?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we always use the function instead of the tag.

@xabbuh
Copy link
Member

xabbuh commented Jul 7, 2017

Thank you Javier.

@xabbuh xabbuh merged commit 858dd81 into symfony:2.7 Jul 7, 2017
xabbuh added a commit that referenced this pull request Jul 7, 2017
…guiluz) This PR was merged into the 2.7 branch. Discussion ---------- Use the Twig namespaced syntax for all templates This fixes #7003. Commits ------- 858dd81 Use the Twig namespaced syntax for all templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants