From d1d3a979b2dcadc4c7471b5570f8b6fd59980db1 Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 11 Apr 2022 17:56:26 +0200 Subject: [PATCH] refactored --- config/routes.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/routes.yaml b/config/routes.yaml index c3283aa..5b102f6 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -1,3 +1,7 @@ -#index: -# path: / -# controller: App\Controller\DefaultController::index +controllers: + resource: ../src/Controller/ + type: annotation + +kernel: + resource: ../src/Kernel.php + type: annotation