diff --git a/src/AppBundle/Resources/views/Category/index.html.twig b/src/AppBundle/Resources/views/Category/index.html.twig index eea43d6..beab4a3 100644 --- a/src/AppBundle/Resources/views/Category/index.html.twig +++ b/src/AppBundle/Resources/views/Category/index.html.twig @@ -44,7 +44,7 @@ name: name, } }).done(function(response) { - $('#response').text(JSON.stringify(response, true)); + $('#response').text(JSON.stringify(response)); listCategories(); }).fail(function(response) { $('#response').text(JSON.stringify(response.responseJSON, null, 4));