mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 16:10:28 +00:00
Fix third argument to Route
This commit is contained in:
parent
019e1acc49
commit
8010425444
2 changed files with 2 additions and 4 deletions
|
@ -10,7 +10,6 @@ use Symfony\Component\HttpFoundation\Request;
|
|||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
use Wallabag\CoreBundle\Entity\Entry;
|
||||
use Wallabag\CoreBundle\Entity\Tag;
|
||||
use Wallabag\CoreBundle\Event\EntryDeletedEvent;
|
||||
|
@ -140,7 +139,7 @@ class EntryRestController extends WallabagRestController
|
|||
'tags' => $tags,
|
||||
'since' => $since,
|
||||
],
|
||||
UrlGeneratorInterface::ABSOLUTE_URL
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue