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        | -
This commit is contained in:
Grégoire Pineau 2013-01-28 15:30:31 +01:00
parent 6755546b8c
commit 9718c760d8

View File

@ -15,8 +15,12 @@
```
{% render controller('BlogBundle:Post:list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error' } %}
{# Or: #}
{{ render(controller('BlogBundle:Post:list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error'}) }}
```
Note: The function is the preferred way.
### HttpFoundation
* The MongoDbSessionHandler default field names and timestamp type have changed.