diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-21 15:22:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 15:22:11 +0200 |
commit | e8331dd9e7772a396bb211459eca4a682c8e947e (patch) | |
tree | 7258769d31ae352ba1021b7e87fc8aa3bf2d80cf /src/Wallabag | |
parent | 61477368687e048f3001336327923f5c87fa2592 (diff) | |
parent | 5960aa1ffc8ee07850d4865a8df7440750af4b2b (diff) | |
download | wallabag-e8331dd9e7772a396bb211459eca4a682c8e947e.tar.gz wallabag-e8331dd9e7772a396bb211459eca4a682c8e947e.tar.zst wallabag-e8331dd9e7772a396bb211459eca4a682c8e947e.zip |
Merge pull request #2453 from wallabag/fix-api-export
Fix API export
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index fa573988..3437bb9b 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -12,7 +12,6 @@ use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | |||
12 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; | 12 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
13 | use Wallabag\CoreBundle\Entity\Entry; | 13 | use Wallabag\CoreBundle\Entity\Entry; |
14 | use Wallabag\CoreBundle\Entity\Tag; | 14 | use Wallabag\CoreBundle\Entity\Tag; |
15 | use FOS\RestBundle\Controller\Annotations\Route; | ||
16 | 15 | ||
17 | class WallabagRestController extends FOSRestController | 16 | class WallabagRestController extends FOSRestController |
18 | { | 17 | { |
@@ -167,8 +166,6 @@ class WallabagRestController extends FOSRestController | |||
167 | * } | 166 | * } |
168 | * ) | 167 | * ) |
169 | * | 168 | * |
170 | * @Route(requirements={"_format"="epub|mobi|pdf|txt|csv"}) | ||
171 | * | ||
172 | * @return Response | 169 | * @return Response |
173 | */ | 170 | */ |
174 | public function getEntryExportAction(Entry $entry, Request $request) | 171 | public function getEntryExportAction(Entry $entry, Request $request) |