Skip to content

Commit 50bca94

Browse files
twiftyxabbuh
twifty
authored andcommitted
Fixed code example
1 parent 66f035b commit 50bca94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/session/locale_sticky_session.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ how you determine the desired locale from the request::
5454
public static function getSubscribedEvents()
5555
{
5656
return array(
57-
// must be registered before the default Locale listener
58-
KernelEvents::REQUEST => array(array('onKernelRequest', 17)),
57+
// must be registered after the default Locale listener
58+
KernelEvents::REQUEST => array(array('onKernelRequest', 15)),
5959
);
6060
}
6161
}

0 commit comments

Comments
 (0)