Permalink
Browse files

bug #4048 $this->request replaced by $request (danielsan)

This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4048).

Discussion
----------

$this->request replaced by $request

Using $this->request it does not work
one the $request is being injected

Commits
-------

b9b4e09 $this->request replaced by $request
  • Loading branch information...
weaverryan committed Jul 29, 2014
2 parents b06ad60 + 2b07e5d commit 7901005f37d223cd4541648131bccc0e4bd687d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 quick_tour/the_controller.rst
@@ -148,7 +148,7 @@ from any controller::
public function indexAction(Request $request)
{
$session = $this->request->getSession();
$session = $request->getSession();
// store an attribute for reuse during a later user request
$session->set('foo', 'bar');

0 comments on commit 7901005

Please sign in to comment.