diff --git a/backend/config/routes.yaml b/backend/config/routes.yaml deleted file mode 100644 index cef258cd..00000000 --- a/backend/config/routes.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# yaml-language-server: $schema=../vendor/symfony/routing/Loader/schema/routing.schema.json - -# This file is the entry point to configure the routes of your app. -# Methods with the #[Route] attribute are automatically imported. -# See also https://symfony.com/doc/current/routing.html - -# To list all registered routes, run the following command: -# bin/console debug:router - -controllers: - resource: routing.controllers diff --git a/backend/config/routes/routes.php b/backend/config/routes/routes.php index ef704ed1..1d8af2f0 100644 --- a/backend/config/routes/routes.php +++ b/backend/config/routes/routes.php @@ -28,4 +28,7 @@ ->prefix('/api/local') ->condition('env("APP_ENV") in ["dev", "test"]') ->namePrefix('api_local_'); + + // internal API routes + $routes->import('@InternalBundle/src', 'attribute'); };