mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 20:35:03 +02:00
Updated doctrine/annotations recipe.
This commit is contained in:
parent
f7bc5a362b
commit
c0d549967d
2 changed files with 6 additions and 2 deletions
|
@ -1,10 +1,14 @@
|
||||||
controllers:
|
controllers:
|
||||||
resource: ../../src/Controller/
|
resource: ../../src/Controller/
|
||||||
type: annotation
|
type: annotation
|
||||||
|
|
||||||
prefix: '{_locale}'
|
prefix: '{_locale}'
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
_locale: '%kernel.default_locale%'
|
_locale: '%kernel.default_locale%'
|
||||||
requirements:
|
requirements:
|
||||||
# Match only locales like de_DE or de
|
# Match only locales like de_DE or de
|
||||||
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
|
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
|
||||||
|
|
||||||
|
kernel:
|
||||||
|
resource: ../../src/Kernel.php
|
||||||
|
type: annotation
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"ref": "cb4152ebcadbe620ea2261da1a1c5a9b8cea7672"
|
"ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./config/routes/annotations.yaml"
|
"./config/routes/annotations.yaml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue