diff --git a/docs/customising-the-view-more-with-twig.rst b/docs/customising-the-view-more-with-twig.rst index 1916c2a..c04f118 100644 --- a/docs/customising-the-view-more-with-twig.rst +++ b/docs/customising-the-view-more-with-twig.rst @@ -313,7 +313,7 @@ the ``sidebar`` action of the ``Page`` controller. {# .. #} {% block sidebar %} - {% render "BloggerBlogBundle:Page:sidebar" %} + {{ render(controller( "BloggerBlogBundle:Page:sidebar")) }} {% endblock %} Finally let's add the CSS for the tag cloud. Add a new stylesheet located at diff --git a/docs/extending-the-model-blog-comments.rst b/docs/extending-the-model-blog-comments.rst index 8ae49ee..58ba86c 100644 --- a/docs/extending-the-model-blog-comments.rst +++ b/docs/extending-the-model-blog-comments.rst @@ -1250,7 +1250,7 @@ with the following. {# .. #}