Skip to content

Commit 0fbd650

Browse files
committed
minor symfony#9168 Fixed the priority of the sticky locale example (javiereguiluz)
This PR was squashed before being merged into the 2.7 branch (closes symfony#9168). Discussion ---------- Fixed the priority of the sticky locale example This fixes symfony#9164. Commits ------- a859e36 Fixed the priority of the sticky locale example
2 parents 31c0227 + a859e36 commit 0fbd650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

session/locale_sticky_session.rst

+2-2
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 after the default Locale listener
58-
KernelEvents::REQUEST => array(array('onKernelRequest', 15)),
57+
// must be registered before (i.e. with a higher priority than) the default Locale listener
58+
KernelEvents::REQUEST => array(array('onKernelRequest', 20)),
5959
);
6060
}
6161
}

0 commit comments

Comments
 (0)