3 namespace Wallabag\ImportBundle\Controller
;
5 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route
;
6 use Symfony\Component\HttpFoundation\Request
;
8 class WallabagV1Controller
extends WallabagController
13 protected function getImportService()
15 return $this->get('wallabag_import.wallabag_v1.import');
21 protected function getImportTemplate()
23 return 'WallabagImportBundle:WallabagV1:index.html.twig';
27 * @Route("/wallabag-v1", name="import_wallabag_v1")
29 public function indexAction(Request
$request)
31 return parent
::indexAction($request);