Skip to content

Commit

Permalink
updating from sf-doc (Adding link to the Template annotation #1887)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregquat committed Nov 18, 2012
1 parent 1b5f93a commit 207810f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions book/controller.rst
Expand Up @@ -549,6 +549,12 @@ Dans les deux cas, le template ``Resources/views/Hello/index.html.twig`` dans
Le moteur de rendu (« templating engine ») de Symfony est expliqué plus en détails dans
le chapitre :doc:`Templating </book/templating>`

.. tip::

Vous pouvez même éviter d'appeler la méthode ``render`` en utilisant l'annotation
``@Template``. Lisez la documentation du :doc:`FrameworkExtraBundle</bundles/SensioFrameworkExtraBundle/annotations/view>`
pour plus de détails.

.. tip::

La méthode ``renderView`` est un raccourci de l'utilisation directe du
Expand Down

0 comments on commit 207810f

Please sign in to comment.