8000 Update formats.rst by ibronit · Pull Request #7128 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content
8000

Update formats.rst #7128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update formats.rst
  • Loading branch information
ibronit authored Jan 6, 2017
commit 63ecd78bb8e90989eaa6bb69629997afc2bc4271
2 changes: 1 addition & 1 deletion templating/formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pattern is to do the following::
.. code-block:: php-annotations

/**
* @Route("{_format}", name="contact_list", defaults={"_format": "html"}, requirements={"_format": "html|xml|pdf"})
* @Route("/{_format}", name="contact_list", defaults={"_format": "html"}, requirements={"_format": "html|xml|pdf"})
*
* @param Request $request
*
Expand Down
0