Skip to content

Commit 887074b

Browse files
dbuOskarStark
andauthored
Update controller.rst
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent db13d48 commit 887074b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ payload formats::
505505
.. tip::
506506

507507
If you write a JSON API, make sure to declare your route to use the JSON
508-
format. This will make the error handling output a json response in case of
508+
format. This will make the error handling output a JSON response in case of
509509
validation errors, rather than an HTML page.
510510

511511
``#[Route('/dashboard', name: 'dashboard', format: 'json')]

0 commit comments

Comments
 (0)