mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-31 07:09:45 +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:
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue