aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-20 12:00:20 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 20:50:30 +0100
commit0ed6302212eec00e188c61acbd92bde80406f4ba (patch)
treef17f6341b68f3986fa1317dda4fe5bf10df4f364 /src
parent0f00688096645606c7806a619ca27e6f30ce820c (diff)
downloadwallabag-0ed6302212eec00e188c61acbd92bde80406f4ba.tar.gz
wallabag-0ed6302212eec00e188c61acbd92bde80406f4ba.tar.zst
wallabag-0ed6302212eec00e188c61acbd92bde80406f4ba.zip
returns serialzed object for GET /entries
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/WallabagRestController.php2
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 /**