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:
6868 you'll learn how to do this correctly.
6969
7070To 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 **):
7272
7373.. configuration-block ::
7474
@@ -79,7 +79,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
7979 {# ... #}
8080 <div id="sidebar">
8181 {{ render(controller(
82- 'AppBundle :Article : recentArticles',
82+ 'App \\ Controller \\ ArticleController: :recentArticles',
8383 { 'max': 3 }
8484 )) }}
8585 </div>
@@ -92,7 +92,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
9292 <div id="sidebar">
9393 <?php echo $view['actions']->render(
9494 new \S ymfony\C omponent\H ttpKernel\C ontroller\C ontrollerReference(
95- 'AppBundle :Article : recentArticles',
95+ 'App \\ Controller \\ ArticleController: :recentArticles',
9696 array('max' => 3)
9797 )
9898 ) ?>
You can’t perform that action at this time.
0 commit comments