aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Controller/PocketController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2015-10-23 14:45:50 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-02 23:24:17 +0100
commitd51b38ed309c9aead938e8c8963c05c6d82b4ec2 (patch)
treef1d575776c8f6a97370fccdbb1ca02a680a4ffe0 /src/Wallabag/ImportBundle/Controller/PocketController.php
parent557e549db7932e9101f60bfda64238a235a0ce3b (diff)
downloadwallabag-d51b38ed309c9aead938e8c8963c05c6d82b4ec2.tar.gz
wallabag-d51b38ed309c9aead938e8c8963c05c6d82b4ec2.tar.zst
wallabag-d51b38ed309c9aead938e8c8963c05c6d82b4ec2.zip
create ImportController to list importers
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller/PocketController.php')
-rw-r--r--src/Wallabag/ImportBundle/Controller/PocketController.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/PocketController.php b/src/Wallabag/ImportBundle/Controller/PocketController.php
index 9602c282..f851c81c 100644
--- a/src/Wallabag/ImportBundle/Controller/PocketController.php
+++ b/src/Wallabag/ImportBundle/Controller/PocketController.php
@@ -4,20 +4,19 @@ namespace Wallabag\ImportBundle\Controller;
4 4
5use Symfony\Bundle\FrameworkBundle\Controller\Controller; 5use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; 6use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7use Wallabag\ImportBundle\Import\PocketImport;
8 7
9class PocketController extends Controller 8class PocketController extends Controller
10{ 9{
11 /** 10 /**
12 * @Route("/import", name="import") 11 * @Route("/import/pocket", name="pocket")
13 */ 12 */
14 public function importAction() 13 public function indexAction()
15 { 14 {
16 return $this->render('WallabagImportBundle:Pocket:index.html.twig', array()); 15 return $this->render('WallabagImportBundle:Pocket:index.html.twig', array());
17 } 16 }
18 17
19 /** 18 /**
20 * @Route("/auth-pocket", name="authpocket") 19 * @Route("/import/pocket/auth", name="authpocket")
21 */ 20 */
22 public function authAction() 21 public function authAction()
23 { 22 {
@@ -28,7 +27,7 @@ class PocketController extends Controller
28 } 27 }
29 28
30 /** 29 /**
31 * @Route("/callback-pocket", name="callbackpocket") 30 * @Route("/import/pocket/callback", name="callbackpocket")
32 */ 31 */
33 public function callbackAction() 32 public function callbackAction()
34 { 33 {