File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ matter), Symfony uses the standard ``render`` helper to configure ESI tags:
127127 {# templates/static/about.html.twig #}
128128
129129 {# you can use a controller reference #}
130- {{ render_esi(controller('App\Controller\NewsController::latest', { 'maxPerPage': 5 })) }}
130+ {{ render_esi(controller('App\\ Controller\ \NewsController::latest', { 'maxPerPage': 5 })) }}
131131
132132 {# ... or a URL #}
133133 {{ render_esi(url('latest_news', { 'maxPerPage': 5 })) }}
@@ -139,7 +139,7 @@ matter), Symfony uses the standard ``render`` helper to configure ESI tags:
139139 <!-- you can use a controller reference -->
140140 <?php echo $view['actions']->render(
141141 new Symfony\C omponent\H ttpKernel\C ontroller\C ontrollerReference(
142- 'App\C ontroller\N ewsController::latest',
142+ 'App\\ Controller\ \ NewsController::latest',
143143 array('maxPerPage' => 5)
144144 ),
145145 array('strategy' => 'esi')
You can’t perform that action at this time.
0 commit comments