You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-2.1.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@
69
69
70
70
* [BC BREAK] The current locale for the user is not stored anymore in the session
71
71
72
-
You can simulate the old behavior by registering a listener that looks like the following:
72
+
You can simulate the old behavior by registering a listener that looks like the following, if the paramater which handle locale value in the request is `_locale`:
73
73
74
74
```
75
75
namespace XXX;
@@ -95,7 +95,7 @@
95
95
}
96
96
97
97
if ($locale = $request->attributes->get('_locale')) {
0 commit comments