forked from wallabag/wallabag
Fix third argument to Route
This commit is contained in:
@ -10,7 +10,6 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
|
||||||
use Wallabag\CoreBundle\Entity\Entry;
|
use Wallabag\CoreBundle\Entity\Entry;
|
||||||
use Wallabag\CoreBundle\Entity\Tag;
|
use Wallabag\CoreBundle\Entity\Tag;
|
||||||
use Wallabag\CoreBundle\Event\EntryDeletedEvent;
|
use Wallabag\CoreBundle\Event\EntryDeletedEvent;
|
||||||
@ -140,7 +139,7 @@ class EntryRestController extends WallabagRestController
|
|||||||
'tags' => $tags,
|
'tags' => $tags,
|
||||||
'since' => $since,
|
'since' => $since,
|
||||||
],
|
],
|
||||||
UrlGeneratorInterface::ABSOLUTE_URL
|
true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ use Pagerfanta\Adapter\DoctrineORMAdapter;
|
|||||||
use Pagerfanta\Pagerfanta;
|
use Pagerfanta\Pagerfanta;
|
||||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
|
||||||
|
|
||||||
class SearchRestController extends WallabagRestController
|
class SearchRestController extends WallabagRestController
|
||||||
{
|
{
|
||||||
@ -57,7 +56,7 @@ class SearchRestController extends WallabagRestController
|
|||||||
'page' => $page,
|
'page' => $page,
|
||||||
'perPage' => $perPage,
|
'perPage' => $perPage,
|
||||||
],
|
],
|
||||||
UrlGeneratorInterface::ABSOLUTE_URL
|
true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user