]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Routing: epub format is allowed for API
authorPascal MARTIN <pmartin@tea-ebook.com>
Tue, 4 Oct 2016 11:57:03 +0000 (13:57 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 8 Oct 2016 10:05:40 +0000 (12:05 +0200)
src/Wallabag/ApiBundle/Resources/config/routing_rest.yml

index 5f43f9716a46fb31b206196658da0de9e45cc954..9aef7e8ec1796bd74672cfa363a7faa459e88907 100644 (file)
@@ -2,3 +2,5 @@ entries:
   type: rest
   resource:     "WallabagApiBundle:WallabagRest"
   name_prefix:  api_
+  requirements:
+    _format: xml|json|html|epub