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 $service = $this->get('wallabag_import.wallabag_v1.import');
17 if ($this->get('craue_config')->get('rabbitmq')) {
18 $service->setRabbitmqProducer($this->get('old_sound_rabbit_mq.import_wallabag_v1_producer'));
27 protected function getImportTemplate()
29 return 'WallabagImportBundle:WallabagV1:index.html.twig';
33 * @Route("/wallabag-v1", name="import_wallabag_v1")
35 public function indexAction(Request
$request)
37 return parent
::indexAction($request);