This commit is contained in:
Frank
2026-01-02 20:27:56 +01:00
parent 534175efb3
commit 0d6628e7c9
45 changed files with 12279 additions and 2911 deletions

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