From 8140faa1bb36c8894dd844fc01b195148c0cf669 Mon Sep 17 00:00:00 2001 From: Nadil Karunarathna Date: Fri, 20 Feb 2026 03:29:17 +0530 Subject: [PATCH] internal api routes --- backend/config/routes.yaml | 11 ----------- backend/config/routes/routes.php | 3 +++ 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 backend/config/routes.yaml 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'); };