]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/ImportBundle/Controller/ImportController.php
Merge pull request #1564 from wallabag/v2-remove-flattr
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Controller / ImportController.php
CommitLineData
d51b38ed
NL
1<?php
2
3namespace Wallabag\ImportBundle\Controller;
4
5use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7
8class ImportController extends Controller
9{
10 /**
7019c7cf 11 * @Route("/", name="import")
d51b38ed 12 */
252ebd60 13 public function importAction()
d51b38ed 14 {
7019c7cf
JB
15 return $this->render('WallabagImportBundle:Import:index.html.twig', [
16 'imports' => $this->get('wallabag_import.chain')->getAll(),
17 ]);
d51b38ed
NL
18 }
19}