Use language setting of users when logging in.

This commit is contained in:
Jan Böhmer 2019-09-12 17:50:33 +02:00
parent 0dd20394cb
commit 0bfcec77fb
9 changed files with 97 additions and 8 deletions

View file

@ -1,3 +1,10 @@
#index:
# path: /
# controller: App\Controller\DefaultController::index
# Redirect every url without an locale to the locale of the user/the global base locale
redirector:
path: /{url}
requirements:
url: ".*"
controller: App\Controller\RedirectController:addLocalePart