From e07b3a0f92a271f11cb63ba979952a8231a2d1b7 Mon Sep 17 00:00:00 2001 From: Richard Miller Date: Sun, 4 Nov 2012 11:36:24 +0000 Subject: [PATCH] Adding link to the Template annotation --- book/controller.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/book/controller.rst b/book/controller.rst index 192d7d15a2e..a94cd1a9194 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -505,6 +505,12 @@ the ``AcmeHelloBundle`` will be rendered. The Symfony templating engine is explained in great detail in the :doc:`Templating ` chapter. +.. tip:: + + You can even avoid calling the ``render`` method by using the ``@Template`` + annotation. See the :doc:`FrameworkExtraBundle documentation` + more details. + .. tip:: The ``renderView`` method is a shortcut to direct use of the ``templating``