Skip to content

Commit 5171011

Browse files
mekhtiariweaverryan
authored andcommitted
Update the_controller.rst
"get" was intended not "set".
1 parent 36626bc commit 5171011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quick_tour/the_controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ from any controller::
131131
$foo = $session->get('foo');
132132

133133
// use a default value if the key doesn't exist
134-
$filters = $session->set('filters', array());
134+
$filters = $session->get('filters', array());
135135

136136
You can also store small messages that will only be available for the very
137137
next request::

0 commit comments

Comments
 (0)