mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 09:35:28 +00:00
redirect to env default language on empty _lang request #19
This commit is contained in:
parent
ae8ec4823a
commit
6b2e67f04b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue