From: Nicolas LÅ“uillet Date: Fri, 20 Feb 2015 19:36:05 +0000 (+0100) Subject: fix GET /api/entries/{entry}/tags X-Git-Tag: 2.0.0-alpha.0~73^2~16 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=1bd12b62296569764ac329d88e964059dec530be;p=github%2Fwallabag%2Fwallabag.git fix GET /api/entries/{entry}/tags --- 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 */ public function getEntriesTagsAction(Entry $entry) { - $json = $this->get('serializer')->serialize($entry, 'json'); + $json = $this->get('serializer')->serialize($entry->getTags(), 'json'); return new Response($json, 200, array('application/json')); }