Skip to content

Commit 31748d1

Browse files
authored
Update render_without_controller.rst
1 parent 0f5cf62 commit 31748d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templating/render_without_controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ can do this without creating a controller:
4545
4646
$collection = new RouteCollection();
4747
$collection->add('acme_privacy', new Route('/privacy', array(
48-
'_controller' => 'FrameworkBundle:Template:template',
49-
'template' => 'static/privacy.html.twig',
48+
'_controller' => 'FrameworkBundle:Template:template',
49+
'template' => 'static/privacy.html.twig',
5050
)));
5151
5252
return $collection;

0 commit comments

Comments
 (0)