There was an error while loading. Please reload this page.
1 parent f601940 commit e846f01Copy full SHA for e846f01
book/http_cache.rst
@@ -649,14 +649,14 @@ exposing a simple and efficient pattern::
649
} else {
650
// Do some more heavy stuff here
651
// like getting more stuff from the DB
652
- $article->getMoreHeavyStuff();
+ $article->getMoreHeavyStuff();
653
// and rendering a template
654
- // with the $response you've already started.
655
- return $this->render(
656
-'MyBundle:MyController:article.html.twig',
657
-array('article' => $article),
658
-$response
659
- );
+ // with the $response you've already started.
+ return $this->render(
+ 'MyBundle:MyController:article.html.twig',
+ array('article' => $article),
+ $response
+ );
660
661
}
662
0 commit comments