Skip to content

Commit

Permalink
fix wrong request listener
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed May 4, 2020
1 parent 13f3eb1 commit dd21028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18nBundle/EventListener/I18nStartupListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ public static function getSubscribedEvents()
{
return [
KernelEvents::EXCEPTION => [
['onKernelRequestLocale', 17], // before symfony LocaleListener
['onKernelException', 20] // before responseExceptionListener
],
KernelEvents::REQUEST => [
['onKernelRequestLocale', 17], // before symfony LocaleListener
['onKernelRequest', 2] // after pimcore context resolver
]
];
Expand Down

0 comments on commit dd21028

Please sign in to comment.