Skip to content

Commit e3210c4

Browse files
committed
Update routing.rst
1 parent bba6ed7 commit e3210c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ specifying which Template will be used, in a similar way to the one used to
260260
determine the Controller (in order of precedence):
261261

262262
* Explicit: The stored Route document itself can explicitly declare the target
263-
Template by returning the name of the template via ``getDefaults('_template')``.
263+
Template by returning the name of the template via ``getDefault('_template')``.
264264
* By class: Requires the Route instance to implement ``RouteObjectInterface``
265265
and return an object for ``getContent()``. The returned class type is
266266
then matched against the provided configuration from config.yml.

0 commit comments

Comments
 (0)