Files
Escapepage/config/routes.yaml
2026-01-02 20:27:56 +01:00

24 lines
637 B
YAML

# Attribute-based routing imports for controllers in subnamespaces
website_controllers:
resource:
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