Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[book] [controller] fixed the code of a session sample code #3735

Merged
merged 1 commit into from
Apr 2, 2014
Merged

[book] [controller] fixed the code of a session sample code #3735

merged 1 commit into from
Apr 2, 2014

Conversation

javiereguiluz
Copy link
Member

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.

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.
@weaverryan
Copy link
Member

I like it!

weaverryan added a commit that referenced this pull request Apr 2, 2014
…de (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 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.

Commits
-------

9da7f9b [book] [controller] fixed the code of a session sample code
@weaverryan weaverryan merged commit 9da7f9b into symfony:2.3 Apr 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants