]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ApiBundle/Controller/SearchRestController.php
Fix third argument to Route
[github/wallabag/wallabag.git] / src / Wallabag / ApiBundle / Controller / SearchRestController.php
index f8da0ad4a28a179512199a5bd8d5183d84266b88..d9f99844c6a043c8210f873d6651c3067997d869 100644 (file)
@@ -9,7 +9,6 @@ use Pagerfanta\Adapter\DoctrineORMAdapter;
 use Pagerfanta\Pagerfanta;
 use Symfony\Component\HttpFoundation\JsonResponse;
 use Symfony\Component\HttpFoundation\Request;
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
 
 class SearchRestController extends WallabagRestController
 {
@@ -57,7 +56,7 @@ class SearchRestController extends WallabagRestController
                     'page' => $page,
                     'perPage' => $perPage,
                 ],
-                UrlGeneratorInterface::ABSOLUTE_URL
+                true
             )
         );