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