mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 01:34:34 +02:00
Use attributes as route provider (instead of annotations)
This commit is contained in:
parent
7191ece7a5
commit
34a65419c7
2 changed files with 5 additions and 9 deletions
|
@ -1,6 +1,8 @@
|
|||
controllers:
|
||||
resource: ../../src/Controller/
|
||||
type: annotation
|
||||
resource:
|
||||
path: ../../src/Controller/
|
||||
namespace: App\Controller
|
||||
type: attribute
|
||||
prefix: '{_locale}'
|
||||
|
||||
defaults:
|
||||
|
@ -11,4 +13,4 @@ controllers:
|
|||
|
||||
kernel:
|
||||
resource: ../../src/Kernel.php
|
||||
type: annotation
|
||||
type: attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue