Skip to content

Commit 8e720e9

Browse files
saro0hweaverryan
authored andcommitted
Reorganized the paragraph
1 parent 57c647f commit 8e720e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/controller.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ working with forms, for example::
335335
Creating Static Pages
336336
---------------------
337337

338+
.. versionadded:: 2.2
339+
The ability to cache templates rendered via ``FrameworkBundle:Template:template``
340+
is new in Symfony 2.2.
341+
338342
You can create a static page without creating any controller. Using only the
339343
routing file, you just have to indicate the "FrameworkBundle:Template:template"
340344
as the controller and the logical path of your template.
341345

342-
.. versionadded:: 2.2
343-
The ability to cache templates rendered via ``FrameworkBundle:Template:template``
344-
is new in Symfony 2.2.
345-
346346
Use it ! See :doc:`cookbook/templating/render_without_controller`.
347347

348348
The Base Controller Class

0 commit comments

Comments
 (0)