Readded accidentially removed RedirectorController to routes.

This commit is contained in:
Jan Böhmer 2020-04-28 17:23:57 +02:00
parent 8525a815c3
commit 1812e6f5bc

View file

@ -8,10 +8,10 @@ scan_qr:
path: /scan/{type}/{id} path: /scan/{type}/{id}
controller: App\Controller\ScanController:scanQRCode controller: App\Controller\ScanController:scanQRCode
#redirector: redirector:
# path: /{url} path: /{url}
# requirements: requirements:
# url: ".*" 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) # 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})?\\\\//')" condition: "not (request.getPathInfo() matches '/^\\\\/[a-z]{2}(_[A-Z]{2})?\\\\//')"