Skip to content

Commit 408ef24

Browse files
committed
merged branch lyrixx/patch-2 (PR symfony#6898)
This PR was merged into the master branch. Commits ------- 9718c76 Updated UPGRADE-2.2.md for twig bridge section Discussion ---------- Updated UPGRADE-2.2.md for twig bridge section | Q             | A | ------------- | --- | Bug fix?      | yes | New feature?  | no | BC breaks?    | no | Deprecations? | no | Tests pass?   | yes | Fixed tickets | - | License       | MIT | Doc PR        | -
2 parents c1037b1 + 9718c76 commit 408ef24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADE-2.2.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@
1515

1616
```
1717
{% render controller('BlogBundle:Post:list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error' } %}
18+
{# Or: #}
19+
{{ render(controller('BlogBundle:Post:list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error'}) }}
1820
```
1921

22+
Note: The function is the preferred way.
23+
2024
### HttpFoundation
2125

2226
* The MongoDbSessionHandler default field names and timestamp type have changed.

0 commit comments

Comments
 (0)