mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed deprecated controller route syntax.
This commit is contained in:
parent
7249bdfc7f
commit
846474d884
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ redirector:
|
|||
path: /{url}
|
||||
requirements:
|
||||
url: ".*"
|
||||
controller: App\Controller\RedirectController:addLocalePart
|
||||
controller: App\Controller\RedirectController::addLocalePart
|
||||
# Dont match localized routes (no redirection loop, if no root with that name exists)
|
||||
condition: "not (request.getPathInfo() matches '/^\\\\/[a-z]{2}(_[A-Z]{2})?\\\\//')"
|
Loading…
Add table
Add a link
Reference in a new issue