Navigation Menu

Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 4, 2011
1 parent 7dc3af6 commit 0298f32
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ public function onCoreRequest(GetResponseEvent $event)

if (HttpKernelInterface::MASTER_REQUEST === $event->getRequestType() && $locale = $request->attributes->get('_locale')) {
$request->getSession()->setLocale($locale);
$context->setParameter('_locale', $locale);
$this->router->getContext()->setParameter('_locale', $locale);
}
}

Expand Down

0 comments on commit 0298f32

Please sign in to comment.