Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,12 @@ the ``AcmeHelloBundle`` will be rendered.
The Symfony templating engine is explained in great detail in the
:doc:`Templating </book/templating>` chapter.

.. tip::

You can even avoid calling the ``render`` method by using the ``@Template``
annotation. See the :doc:`FrameworkExtraBundle documentation</bundles/SensioFrameworkExtraBundle/annotations/view>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's cleaner to put the link on a new line.

more details.

.. tip::

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