Last Updated: February 25, 2016
·
644
· gxela

Symfony 2.0 to 2.3 update, twig render

http://symfony.com/doc/current/book/templating.html#embedding-controllers

change:

{% render "AcmeDemoBundle:Main:nestedAction" %}

to:

{% render(controller("AcmeDemoBundle:Main:nestedAction")) %}

to find all place where to make this change, type:

grep -Rn 'render "' .