Commit 5419341
committed
bug #12186 fix a little code example issue (padabou)
This PR was merged into the 4.3 branch.
Discussion
----------
fix a little code example issue
change : {% set route_name = app.request.attributes('_route') %}
{% set route_parameters = app.request.attributes('_route_params') %}
by :
{% set route_name = app.request.attributes.get('_route') %}
{% set route_parameters = app.request.attributes.get('_route_params') %}
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
1d2d9c3 fix a little code example issue1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
1246 | | - | |
1247 | | - | |
| 1246 | + | |
| 1247 | + | |
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
| |||
0 commit comments