Startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user