From 846474d88432b516bfca480ecfb8afed19b1f7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 31 May 2020 20:01:01 +0200 Subject: [PATCH] Fixed deprecated controller route syntax. --- config/routes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.yaml b/config/routes.yaml index 6de247bf..a4c96ac6 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -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})?\\\\//')" \ No newline at end of file