Skip to content

Commit 64f21c6

Browse files
[symfony/routing] Auto-register routes from attributes found on controller services (#1448)
1 parent 890e415 commit 64f21c6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# $schema: ../vendor/symfony/routing/Loader/schema/routing.schema.json
22

33
controllers:
4-
resource:
5-
path: ../src/Controller/
6-
namespace: App\Controller
7-
type: attribute
4+
resource: attributes
5+
type: tagged_services

0 commit comments

Comments
 (0)