Skip to content

Commit d66a91a

Browse files
committed
Fixed auditor bundle routes
1 parent df65c33 commit d66a91a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/packages/framework.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
framework:
33
secret: '%env(APP_SECRET)%'
44
#csrf_protection: true
5-
annotations: false
5+
# We need annotations for dh audit bundle routing
6+
annotations: true
67
http_method_override: false
78
handle_all_throwables: true
89

config/routes/annotations.yaml renamed to config/routes/attributes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
controllers:
22
resource: '../../src/Controller/'
33
#exclude: '../../src/Controller/Admin/*'
4-
type: annotation
4+
type: attribute
55
prefix:
66
de: ''
77
de_DE: '/de'
@@ -13,4 +13,4 @@ controllers:
1313

1414
kernel:
1515
resource: ../../src/Kernel.php
16-
type: annotation
16+
type: attribute

0 commit comments

Comments
 (0)