mirror of
https://github.com/symfony/recipes.git
synced 2026-09-14 16:46:24 +03:00
This PR was merged into the master branch.
Discussion
----------
Use "DefaultController" instead of "SomeController" as default
In case https://github.com/fabpot/flex/issues/27 is accepted, this should be the solution.
Commits
-------
e795fa0 Use "DefaultController" instead of "SomeController" as default
9 lines
197 B
YAML
9 lines
197 B
YAML
#index:
|
|
# path: /
|
|
# defaults: { _controller: "App\\Controller\\DefaultController::index" }
|
|
|
|
# if annotations are enabled
|
|
#controllers:
|
|
# resource: ../src/Controller/
|
|
# type: annotation
|