Browse Source

redirect to env default language on empty _lang request #19

main
ghost 1 year ago
parent
commit
6b2e67f04b
  1. 2
      src/Controller/DashboardController.php

2
src/Controller/DashboardController.php

@ -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…
Cancel
Save