Skip to content

Conversation

ThomasLandauer
Copy link
Contributor

Page: https://symfony.com/doc/6.3/routing.html#getting-the-route-name-and-parameters

Page: https://symfony.com/doc/6.3/routing.html#getting-the-route-name-and-parameters

* The first sentence wasn't english.
* Defining a  Twig variable for this is quite useless nowadays - this looks like a leftover from previous versions where the syntax was lengthy: https://symfony.com/doc/5.4/routing.html#getting-the-route-name-and-parameters
@javiereguiluz
Copy link
Member

Thanks Thomas!

While merging I tweaked things a bit because code like {% app.current_route %} is no longer valid Twig code. I removed the entire Twig block and linked to the "global Twig app" doc that explains those two variables.

@ThomasLandauer ThomasLandauer deleted the patch-17 branch December 13, 2023 19:46
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.

3 participants