]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Controller/PocketController.php
create ImportController to list importers
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Controller / PocketController.php
index 9602c2823b621092bbefc6ce8e31402b0bb0cf30..f851c81cf105225abf4fd3fe9f02a56ee721ba43 100644 (file)
@@ -4,20 +4,19 @@ namespace Wallabag\ImportBundle\Controller;
 
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
-use Wallabag\ImportBundle\Import\PocketImport;
 
 class PocketController extends Controller
 {
     /**
-     * @Route("/import", name="import")
+     * @Route("/import/pocket", name="pocket")
      */
-    public function importAction()
+    public function indexAction()
     {
         return $this->render('WallabagImportBundle:Pocket:index.html.twig', array());
     }
 
     /**
-     * @Route("/auth-pocket", name="authpocket")
+     * @Route("/import/pocket/auth", name="authpocket")
      */
     public function authAction()
     {
@@ -28,7 +27,7 @@ class PocketController extends Controller
     }
 
     /**
-     * @Route("/callback-pocket", name="callbackpocket")
+     * @Route("/import/pocket/callback", name="callbackpocket")
      */
     public function callbackAction()
     {