aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-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 b895b67c..db9cf1be 100644
--- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php
@@ -196,7 +196,7 @@ 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'); 199 $json = $this->get('serializer')->serialize($entry->getTags(), 'json');
200 200
201 return new Response($json, 200, array('application/json')); 201 return new Response($json, 200, array('application/json'));
202 } 202 }