From 8aa429d5294ff77856609309658dcdd83bd6a791 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sat, 21 May 2016 16:19:19 +0200 Subject: [PATCH] Syntax issue --- book/controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/controller.rst b/book/controller.rst index b2793a3e046..ad81c50f8f8 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -791,7 +791,7 @@ a ``JsonResponse`` and encodes the given contents automatically:: // return $this->json($data, $status = 200, $headers = array(), $context = array()); } -If the :doc:`serializer service `_ is enabled in your +If the :doc:`serializer service ` is enabled in your application, contents passed to ``json()`` are encoded with it. Otherwise, the :phpfunction:`json_encode()` function is used.