mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +00:00
- list services in /import - add url to import service - ImportBundle routing are now prefixed by /import - optimize flush in each import (flushing each 20 contents) - improve design of each import - add more tests
19 lines
476 B
PHP
19 lines
476 B
PHP
<?php
|
|
|
|
namespace Wallabag\ImportBundle\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
|
|
|
class ImportController extends Controller
|
|
{
|
|
/**
|
|
* @Route("/", name="import")
|
|
*/
|
|
public function importAction()
|
|
{
|
|
return $this->render('WallabagImportBundle:Import:index.html.twig', [
|
|
'imports' => $this->get('wallabag_import.chain')->getAll(),
|
|
]);
|
|
}
|
|
}
|