aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/WallabagRestController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/WallabagRestController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
index 2384325f..b895b67c 100644
--- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
@@ -196,6 +196,9 @@ class WallabagRestController extends Controller
196 */ 196 */
197 public function getEntriesTagsAction(Entry $entry) 197 public function getEntriesTagsAction(Entry $entry)
198 { 198 {
199 $json = $this->get('serializer')->serialize($entry, 'json');
200
201 return new Response($json, 200, array('application/json'));
199 } 202 }
200 203
201 /** 204 /**