3 namespace Wallabag\CoreBundle\Controller
;
5 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route
;
6 use Symfony\Bundle\FrameworkBundle\Controller\Controller
;
7 use Symfony\Component\HttpFoundation\Request
;
8 use Wallabag\CoreBundle\Entity\Tag
;
10 class TagController
extends Controller
13 * Shows tags for current user.
15 * @Route("/tag/list", name="tag")
17 * @return \Symfony\Component\HttpFoundation\Response
19 public function showTagAction()
21 $tags = $this->getDoctrine()
22 ->getRepository('WallabagCoreBundle:Tag')
23 ->findTags($this->getUser()->getId());
26 'WallabagCoreBundle:Tag:tags.html.twig',