Commit 9db055c
committed
minor #6472 Avoid confusion (gerryvdm)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6472).
Discussion
----------
Avoid confusion
To me it was a bit confusing why the locale was set on the session and not the request. Further more, reading the linked article shows extra code is needed to make this work at all.
Since the linked article explains in more detail how to make the locale sticky, I suggest just setting it on the request in this code sample.
Commits
-------
6818b8e Avoid confusion1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments