Added tags counter in sidebar (material theme)

This commit is contained in:
Nicolas Lœuillet
2016-09-04 20:53:28 +02:00
parent c3b53188d7
commit 429d86f388
8 changed files with 62 additions and 38 deletions

View File

@ -84,7 +84,9 @@ class TagController extends Controller
{
$tags = $this->getDoctrine()
->getRepository('WallabagCoreBundle:Tag')
->findAllTags($this->getUser()->getId());
->findAllTags($this->getUser()->getId())
->getQuery()
->getResult();
return $this->render(
'WallabagCoreBundle:Tag:tags.html.twig',