diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index cadd7e75..d48c7bbb 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |||
@@ -77,7 +77,7 @@ class WallabagRestController extends Controller | |||
77 | $hateoas = HateoasBuilder::create()->build(); | 77 | $hateoas = HateoasBuilder::create()->build(); |
78 | $json = $hateoas->serialize($entries, 'json'); | 78 | $json = $hateoas->serialize($entries, 'json'); |
79 | 79 | ||
80 | return $entries; | 80 | return new Response($json, 200, array('application/json')); |
81 | } | 81 | } |
82 | 82 | ||
83 | /** | 83 | /** |