Added another "before" possibility to retrieve the locale from a Twig template.

This commit is contained in:
H. Westphal 2011-10-22 11:23:43 +02:00
parent b95fe53bf4
commit c915f4851f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ UPGRADE FROM 2.0 to 2.1
Retrieving the locale from a Twig template:
Before: {{ app.request.session.locale }}
Before: {{ app.request.session.locale }} or {{ app.session.locale }}
After: {{ app.request.locale }}
Retrieving the locale from a PHP template: