From 4d3eccce3369eb1df51d8e93663865f5e10c5b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 6 Mar 2019 00:05:42 +0100 Subject: [PATCH] Added prefix to routes, so it can be accessed via different locales. --- config/routes/annotations.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes/annotations.yaml b/config/routes/annotations.yaml index d49a502a..d7037b9e 100644 --- a/config/routes/annotations.yaml +++ b/config/routes/annotations.yaml @@ -1,3 +1,7 @@ controllers: resource: ../../src/Controller/ type: annotation + + prefix: + en: '/en' + de: '/de'