Skip to content

Commit 4a9b0a3

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Recommend using root `controller` attribute in route definition
2 parents abec79a + 696c423 commit 4a9b0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ which is a common practice when following the `ADR pattern`_
143143
# config/routes.yaml
144144
hello:
145145
path: /hello/{name}
146-
defaults: { _controller: app.hello_controller }
146+
controller: app.hello_controller
147147
148148
.. code-block:: xml
149149

0 commit comments

Comments
 (0)