]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ApiBundle/Controller/WallabagRestController.php
Fix rest controller merge
[github/wallabag/wallabag.git] / src / Wallabag / ApiBundle / Controller / WallabagRestController.php
index 544c1ea936718413658758b5d2507d71c3566a18..1ff593f504c007eef40d59482419f7140f0180c5 100644 (file)
@@ -5,6 +5,8 @@ namespace Wallabag\ApiBundle\Controller;
 use FOS\RestBundle\Controller\FOSRestController;
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
 use Wallabag\CoreBundle\Entity\Entry;
+use Nelmio\ApiDocBundle\Annotation\ApiDoc;
+use Symfony\Component\HttpFoundation\JsonResponse;
 
 class WallabagRestController extends FOSRestController
 {
@@ -19,6 +21,7 @@ class WallabagRestController extends FOSRestController
     {
         $version = $this->container->getParameter('wallabag_core.version');
         $json = $this->get('serializer')->serialize($version, 'json');
+
         return (new JsonResponse())->setJson($json);
     }