This commit is contained in:
Frank
2026-01-02 20:27:56 +01:00
parent 3b071eec9b
commit 18821e2463
43 changed files with 12259 additions and 2910 deletions
+21 -3
View File
@@ -1,5 +1,23 @@
controllers:
# Attribute-based routing imports for controllers in subnamespaces
website_controllers:
resource:
path: ../src/Controller/
namespace: App\Controller
path: ../src/Website/Controller/
namespace: App\Website\Controller
type: attribute
game_controllers:
resource:
path: ../src/Game/Controller/
namespace: App\Game\Controller
type: attribute
prefix: /game
# Uncomment when you add base controllers
# base_controllers:
# resource:
# path: ../src/Base/Controller/
# namespace: App\Base\Controller
# type: attribute
# # Set a prefix if desired, e.g., "/base" or leave empty to mount at root
# # prefix: /base