Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Mar 26, 2022

Q A
Branch? 6.1
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -
  • Use the source() function to include static assets. Avoids twig parsing and compilation and prevents potential syntax error.
  • Replace {% include %} with {{ include() }} where remaining.

Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

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

Looks good to me

@fabpot
Copy link
Member

fabpot commented Mar 27, 2022

Thank you @GromNaN.

@fabpot fabpot merged commit 1627e45 into symfony:6.1 Mar 27, 2022
@GromNaN GromNaN deleted the twig-source branch March 27, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants