Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0fbd650

Browse files
committed
minor#9168 Fixed the priority of the sticky locale example (javiereguiluz)
This PR was squashed before being merged into the 2.7 branch (closes#9168).Discussion----------Fixed the priority of the sticky locale exampleThisfixes#9164.Commits-------a859e36 Fixed the priority of the sticky locale example
2 parents31c0227 +a859e36 commit0fbd650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎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 registeredafter the default Locale listener
58-
KernelEvents::REQUEST => array(array('onKernelRequest',15)),
57+
// must be registeredbefore (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)

[8]ページ先頭

©2009-2025 Movatter.jp