File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ The ``recent_list`` template is perfectly straightforward:
68
68
you'll learn how to do this correctly.
69
69
70
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 **):
71
+ string syntax for controllers (i.e. **controllerPath **::**action **):
72
72
73
73
.. configuration-block ::
74
74
@@ -79,7 +79,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
79
79
{# ... #}
80
80
<div id="sidebar">
81
81
{{ render(controller(
82
- 'AppBundle :Article : recentArticles',
82
+ 'App \\ Controller \\ ArticleController: :recentArticles',
83
83
{ 'max': 3 }
84
84
)) }}
85
85
</div>
@@ -92,7 +92,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
92
92
<div id="sidebar">
93
93
<?php echo $view['actions']->render(
94
94
new \S ymfony\C omponent\H ttpKernel\C ontroller\C ontrollerReference(
95
- 'AppBundle :Article : recentArticles',
95
+ 'App \\ Controller \\ ArticleController: :recentArticles',
96
96
array('max' => 3)
97
97
)
98
98
) ?>
You can’t perform that action at this time.
0 commit comments