From bcd5d344d9d2f4579e445e457f16bf5cabb4f84c Mon Sep 17 00:00:00 2001 From: Gilles Fabio Date: Thu, 13 Jan 2011 15:45:38 +0100 Subject: [PATCH] Fixed :_format => {_format} in quick tour. --- quick_tour/the_controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index 879e00ad871..9612dc7d4d1 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -60,7 +60,7 @@ Then, add an ``index.xml.php`` template along side ``index.php``: That's all there is to it. No need to change the controller. For standard formats, Symfony2 will also automatically choose the best ``Content-Type`` header for the response. If you want to support different formats for a single -action, use the ``:_format`` placeholder in the pattern instead: +action, use the ``{_format}`` placeholder in the pattern instead: .. configuration-block::