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:
127
127
{# templates/static/about.html.twig #}
128
128
129
129
{# 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 })) }}
131
131
132
132
{# ... or a URL #}
133
133
{{ render_esi(url('latest_news', { 'maxPerPage': 5 })) }}
@@ -139,7 +139,7 @@ matter), Symfony uses the standard ``render`` helper to configure ESI tags:
139
139
<!-- you can use a controller reference -->
140
140
<?php echo $view['actions']->render(
141
141
new Symfony\C omponent\H ttpKernel\C ontroller\C ontrollerReference(
142
- 'App\C ontroller\N ewsController::latest',
142
+ 'App\\ Controller\ \ NewsController::latest',
143
143
array('maxPerPage' => 5)
144
144
),
145
145
array('strategy' => 'esi')
You can’t perform that action at this time.
0 commit comments