diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-20 20:29:33 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-06 20:50:30 +0100 |
commit | 0a018fe03980b35c9f7aca838e67a8efa43b7f2d (patch) | |
tree | d531ff5c3051871dd5315e26e50ec45c7da2b16b /src/Wallabag/CoreBundle/Controller | |
parent | 6d37a7e6c11666c2c220c9eb358a877f15bcfa0e (diff) | |
download | wallabag-0a018fe03980b35c9f7aca838e67a8efa43b7f2d.tar.gz wallabag-0a018fe03980b35c9f7aca838e67a8efa43b7f2d.tar.zst wallabag-0a018fe03980b35c9f7aca838e67a8efa43b7f2d.zip |
add relation between entry and tag
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 3 |
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 | /** |