Skip to content

Commit e07b3a0

Browse files
Adding link to the Template annotation
1 parent b79e123 commit e07b3a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/controller.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,12 @@ the ``AcmeHelloBundle`` will be rendered.
505505
The Symfony templating engine is explained in great detail in the
506506
:doc:`Templating </book/templating>` chapter.
507507

508+
.. tip::
509+
510+
You can even avoid calling the ``render`` method by using the ``@Template``
511+
annotation. See the :doc:`FrameworkExtraBundle documentation</bundles/SensioFrameworkExtraBundle/annotations/view>`
512+
more details.
513+
508514
.. tip::
509515

510516
The ``renderView`` method is a shortcut to direct use of the ``templating``

0 commit comments

Comments
 (0)