8000 minor #4894 Align methods in YAML example (ifdattic) · symfony/symfony-docs@fc776ab · GitHub
[go: up one dir, main page]

Skip to content

Commit fc776ab

Browse files
committed
minor #4894 Align methods in YAML example (ifdattic)
This PR was merged into the 2.3 branch. Discussion ---------- Align methods in YAML example | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | Commits ------- a61ffba Align methods in YAML example
2 parents bd279f6 + a61ffba commit fc776ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/routing/method_parameters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ delete it by matching on GET, PUT and DELETE.
1818
blog_show:
1919
path: /blog/{slug}
2020
defaults: { _controller: AppBundle:Blog:show }
21-
methods: [GET]
21+
methods: [GET]
2222
2323
blog_update:
2424
path: /blog/{slug}
2525
defaults: { _controller: AppBundle:Blog:update }
26-
methods: [PUT]
26+
methods: [PUT]
2727
2828
blog_delete:
2929
path: /blog/{slug}
3030
defaults: { _controller: AppBundle:Blog:delete }
31-
methods: [DELETE]
31+
methods: [DELETE]
3232
3333
.. code-block:: xml
3434

0 commit comments

Comments
 (0)
0