Fixed formatting.
This commit is contained in:
parent
398acc9e9f
commit
f9951a39eb
@ -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
|
||||
|
Reference in New Issue
Block a user