Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 985c68f

Browse files
javiereguiluzweaverryan
authored andcommitted
Replaced "variable" by "placeholder" when using {_format} inside a route
1 parent 42bd69f commit 985c68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quick_tour/the_controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Symfony2 automatically selects the right template, here ``hello.xml.twig``:
4141
That's all there is to it. For standard formats, Symfony2 will also
4242
automatically choose the best ``Content-Type`` header for the response. If
4343
you want to support different formats for a single action, use the ``{_format}``
44-
variable in the route path instead::
44+
placeholder in the route path instead::
4545

4646
// src/Acme/DemoBundle/Controller/DemoController.php
4747
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

0 commit comments

Comments
 (0)