symfony/symfony-docs — pull request #3735 by javiereguiluz (2014-03-29 10:22:02+00:00)
Title: [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 controller
injection and the resulting code was a bit confusing. When you get
the attribute set by another controller, it's better to use a
different attribute name, to make it clear that it wasn't set at
this controller.