Skip to content

Commit

Permalink
Fixed code example
Browse files Browse the repository at this point in the history
  • Loading branch information
twifty authored and xabbuh committed Feb 12, 2016
1 parent 66f035b commit 50bca94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/session/locale_sticky_session.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ how you determine the desired locale from the request::
public static function getSubscribedEvents()
{
return array(
// must be registered before the default Locale listener
KernelEvents::REQUEST => array(array('onKernelRequest', 17)),
// must be registered after the default Locale listener
KernelEvents::REQUEST => array(array('onKernelRequest', 15)),
);
}
}
Expand Down

0 comments on commit 50bca94

Please sign in to comment.