aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/TagController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php
index 616c37f2..bc794c7f 100644
--- a/src/Wallabag/CoreBundle/Controller/TagController.php
+++ b/src/Wallabag/CoreBundle/Controller/TagController.php
@@ -86,9 +86,12 @@ class TagController extends Controller
86 { 86 {
87 $tags = $this->get('wallabag_core.tag_repository') 87 $tags = $this->get('wallabag_core.tag_repository')
88 ->findAllFlatTagsWithNbEntries($this->getUser()->getId()); 88 ->findAllFlatTagsWithNbEntries($this->getUser()->getId());
89 $untagged = $this->get('wallabag_core.entry_repository')
90 ->countUntaggedEntriesForUser($this->getUser()->getId());
89 91
90 return $this->render('WallabagCoreBundle:Tag:tags.html.twig', [ 92 return $this->render('WallabagCoreBundle:Tag:tags.html.twig', [
91 'tags' => $tags, 93 'tags' => $tags,
94 'untagged' => $untagged
92 ]); 95 ]);
93 } 96 }
94 97