Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit985c68f

Browse files
javiereguiluzweaverryan
authored andcommitted
Replaced "variable" by "placeholder" when using {_format} inside a route
1 parent42bd69f commit985c68f

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)

[8]ページ先頭

©2009-2025 Movatter.jp