]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Controller/ImportController.php
Add tagged services for import
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Controller / ImportController.php
index 2a0d6ab5c7b1352b0c01c2c453572e479549bf21..c1486e3821415307168c4ab1c091b0bd44ecfc98 100644 (file)
@@ -8,10 +8,12 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
 class ImportController extends Controller
 {
     /**
-     * @Route("/import", name="import")
+     * @Route("/", name="import")
      */
     public function importAction()
     {
-        return $this->render('WallabagImportBundle:Import:index.html.twig', []);
+        return $this->render('WallabagImportBundle:Import:index.html.twig', [
+            'imports' => $this->get('wallabag_import.chain')->getAll(),
+        ]);
     }
 }