aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-20 20:36:05 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 20:50:30 +0100
commit1bd12b62296569764ac329d88e964059dec530be (patch)
treedb936470cee989e4586612d27823886d89170f5a /src/Wallabag
parent0a018fe03980b35c9f7aca838e67a8efa43b7f2d (diff)
downloadwallabag-1bd12b62296569764ac329d88e964059dec530be.tar.gz
wallabag-1bd12b62296569764ac329d88e964059dec530be.tar.zst
wallabag-1bd12b62296569764ac329d88e964059dec530be.zip
fix GET /api/entries/{entry}/tags
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 }