Skip to content

Commit

Permalink
Fixing code typos thanks to Richard Ho in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Dec 8, 2015
1 parent 2913370 commit df28685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions knpu/episode1/error-404-json.rst
Expand Up @@ -183,10 +183,10 @@ anonymous function, unless it's set to ``about:blank``::

$data = $apiProblem->toArray();
if ($data['type'] != 'about:blank') {
$data['type'] = 'http://localhost:8000/docs/errors#'.$data['type'];
$data['type'] = 'http://localhost:8000/api/docs/errors#'.$data['type'];
}
$response = new JsonResponse(
$apiProblem->toArray(),
$data,
$statusCode
);

Expand Down

0 comments on commit df28685

Please sign in to comment.