Fixed formatting.

This commit is contained in:
Drak 2012-02-02 17:21:28 +05:45
parent 398acc9e9f
commit f9951a39eb
1 changed files with 5 additions and 2 deletions

View File

@ -33,16 +33,19 @@ UPGRADE FROM 2.0 to 2.1
Retrieving the locale from a Twig template:
Before: `{{ app.request.session.locale }}` or `{{ app.session.locale }}`
After: `{{ app.request.locale }}`
Retrieving the locale from a PHP template:
Before: `$view['session']->getLocale()`
After: `$view['request']->getLocale()`
Retrieving the locale from PHP code:
Before: `$session->getLocale()`
After: `$request->getLocale()`
* Method `equals` of `Symfony\Component\Security\Core\User\UserInterface` has