diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/SearchRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/SearchRestController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/SearchRestController.php b/src/Wallabag/ApiBundle/Controller/SearchRestController.php index f8da0ad4..d9f99844 100644 --- a/src/Wallabag/ApiBundle/Controller/SearchRestController.php +++ b/src/Wallabag/ApiBundle/Controller/SearchRestController.php | |||
@@ -9,7 +9,6 @@ use Pagerfanta\Adapter\DoctrineORMAdapter; | |||
9 | use Pagerfanta\Pagerfanta; | 9 | use Pagerfanta\Pagerfanta; |
10 | use Symfony\Component\HttpFoundation\JsonResponse; | 10 | use Symfony\Component\HttpFoundation\JsonResponse; |
11 | use Symfony\Component\HttpFoundation\Request; | 11 | use Symfony\Component\HttpFoundation\Request; |
12 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | ||
13 | 12 | ||
14 | class SearchRestController extends WallabagRestController | 13 | class SearchRestController extends WallabagRestController |
15 | { | 14 | { |
@@ -57,7 +56,7 @@ class SearchRestController extends WallabagRestController | |||
57 | 'page' => $page, | 56 | 'page' => $page, |
58 | 'perPage' => $perPage, | 57 | 'perPage' => $perPage, |
59 | ], | 58 | ], |
60 | UrlGeneratorInterface::ABSOLUTE_URL | 59 | true |
61 | ) | 60 | ) |
62 | ); | 61 | ); |
63 | 62 | ||