Skip to content

Commit

Permalink
Syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz authored and wouterj committed May 21, 2016
1 parent f1441b2 commit 8aa429d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 </cookbook/serializer>`_ is enabled in your
If the :doc:`serializer service </cookbook/serializer>` is enabled in your
application, contents passed to ``json()`` are encoded with it. Otherwise,
the :phpfunction:`json_encode()` function is used.

Expand Down

0 comments on commit 8aa429d

Please sign in to comment.