aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-04 20:53:28 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-04 20:53:28 +0200
commit429d86f388da856c9d8d9a649147c5212bee4258 (patch)
tree2dde16adfb069d26209a0c01c92a04eb9b502e54 /src/Wallabag/ApiBundle/Controller/WallabagRestController.php
parentc3b53188d75a01e92f2be7204fc961a7636a1827 (diff)
downloadwallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.gz
wallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.zst
wallabag-429d86f388da856c9d8d9a649147c5212bee4258.zip
Added tags counter in sidebar (material theme)
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index 869fdc56..07fedeb0 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -322,7 +322,9 @@ class WallabagRestController extends FOSRestController
322 322
323 $tags = $this->getDoctrine() 323 $tags = $this->getDoctrine()
324 ->getRepository('WallabagCoreBundle:Tag') 324 ->getRepository('WallabagCoreBundle:Tag')
325 ->findAllTags($this->getUser()->getId()); 325 ->findAllTags($this->getUser()->getId())
326 ->getQuery()
327 ->getResult();
326 328
327 $json = $this->get('serializer')->serialize($tags, 'json'); 329 $json = $this->get('serializer')->serialize($tags, 'json');
328 330