From aa0db40224f4cecd59588396bad4baa36c2a15d4 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 1 Oct 2025 18:50:16 +0200 Subject: [PATCH] Autowire ElementController --- .../ChillBudgetBundle/config/services/controller.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Bundle/ChillBudgetBundle/config/services/controller.yaml b/src/Bundle/ChillBudgetBundle/config/services/controller.yaml index 06932e02e..0efea98a3 100644 --- a/src/Bundle/ChillBudgetBundle/config/services/controller.yaml +++ b/src/Bundle/ChillBudgetBundle/config/services/controller.yaml @@ -1,4 +1,12 @@ services: + _defaults: + autowire: true + autoconfigure: true + + Chill\BudgetBundle\Controller\: + resource: '../../Controller/' + tags: [ 'controller.service_arguments' ] + Chill\BudgetBundle\Controller\Admin\: autowire: true autoconfigure: true