mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-02 16:29:32 +00:00
Use language setting of users when logging in.
This commit is contained in:
parent
0dd20394cb
commit
0bfcec77fb
9 changed files with 97 additions and 8 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue