diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller/ImportController.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/ImportController.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/ImportController.php b/src/Wallabag/ImportBundle/Controller/ImportController.php new file mode 100644 index 00000000..c1486e38 --- /dev/null +++ b/src/Wallabag/ImportBundle/Controller/ImportController.php | |||
@@ -0,0 +1,19 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\ImportBundle\Controller; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | ||
7 | |||
8 | class ImportController extends Controller | ||
9 | { | ||
10 | /** | ||
11 | * @Route("/", name="import") | ||
12 | */ | ||
13 | public function importAction() | ||
14 | { | ||
15 | return $this->render('WallabagImportBundle:Import:index.html.twig', [ | ||
16 | 'imports' => $this->get('wallabag_import.chain')->getAll(), | ||
17 | ]); | ||
18 | } | ||
19 | } | ||