redirect to env default language on empty _lang request #19

This commit is contained in:
ghost 2023-10-03 22:41:42 +03:00
parent ae8ec4823a
commit 6b2e67f04b

View File

@ -15,7 +15,7 @@ class DashboardController extends AbstractController
return $this->redirectToRoute( return $this->redirectToRoute(
'dashboard_index', 'dashboard_index',
[ [
'_locale' => 'en' '_locale' => $this->getParameter('app.locale')
] ]
); );
} }