2015-10-23 12:45:50 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Wallabag\ImportBundle\Controller;
|
|
|
|
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
|
|
|
|
|
|
|
class ImportController extends Controller
|
|
|
|
{
|
|
|
|
/**
|
2015-12-31 10:24:46 +00:00
|
|
|
* @Route("/", name="import")
|
2015-10-23 12:45:50 +00:00
|
|
|
*/
|
2015-12-30 11:23:51 +00:00
|
|
|
public function importAction()
|
2015-10-23 12:45:50 +00:00
|
|
|
{
|
2015-12-31 10:24:46 +00:00
|
|
|
return $this->render('WallabagImportBundle:Import:index.html.twig', [
|
|
|
|
'imports' => $this->get('wallabag_import.chain')->getAll(),
|
|
|
|
]);
|
2015-10-23 12:45:50 +00:00
|
|
|
}
|
|
|
|
}
|