Updated doctrine/annotations recipe.

This commit is contained in:
Jan Böhmer 2020-05-10 15:59:29 +02:00
parent f7bc5a362b
commit c0d549967d
2 changed files with 6 additions and 2 deletions

View file

@ -1,10 +1,14 @@
controllers:
resource: ../../src/Controller/
type: annotation
prefix: '{_locale}'
defaults:
_locale: '%kernel.default_locale%'
requirements:
# Match only locales like de_DE or de
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
kernel:
resource: ../../src/Kernel.php
type: annotation

View file

@ -35,7 +35,7 @@
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.0",
"ref": "cb4152ebcadbe620ea2261da1a1c5a9b8cea7672"
"ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
},
"files": [
"./config/routes/annotations.yaml"