You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templating/embedding_controllers.rst
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -67,8 +67,9 @@ The ``recent_list`` template is perfectly straightforward:
67
67
(e.g. ``/article/*slug*``). This is a bad practice. In the next section,
68
68
you'll learn how to do this correctly.
69
69
70
-
To include the controller, you'll need to refer to it using the standard
71
-
string syntax for controllers (i.e. **bundle**:**controller**:**action**):
70
+
To include the controller, you'll need to refer to it using the standard string syntax for controllers (i.e. **controllerPath**:**action**).
71
+
72
+
Where controllerPath is a Full Qualified Class Name. (Notice double ``\\`` as a directory separator) and action is method in controller without the action postfix.
72
73
73
74
.. configuration-block::
74
75
@@ -79,7 +80,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
0 commit comments