forked fromsymfony/symfony-docs
- Notifications
You must be signed in to change notification settings - Fork0
Commitce582ec
committed
minorsymfony#3735 [book] [controller] fixed the code of a session sample code (javiereguiluz)
This PR was merged into the 2.3 branch.Discussion----------[book] [controller] fixed the code of a session sample code| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | 2.3+| Fixed tickets | -This code was updated in the past to use the $request controllerinjection and the resulting code was a bit confusing. When you getthe attribute set by another controller, it's better to use adifferent attribute name, to make it clear that it wasn't set atthis controller.Commits-------9da7f9b [book] [controller] fixed the code of a session sample code1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
| 669 | + | |
| 670 | + | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
0 commit comments
Comments
(0)