mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 20:54:52 +00:00
redirect to env default language on empty _lang request #19
This commit is contained in:
parent
ae8ec4823a
commit
6b2e67f04b
@ -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')
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user