]>
Commit | Line | Data |
---|---|---|
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 | } |