Fix third argument to Route

This commit is contained in:
Jeremy Benoist 2018-10-24 20:29:33 +02:00
parent 019e1acc49
commit 8010425444
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 4 deletions

View file

@ -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
)
);

View 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
)
);