1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

Stop using get() directly on Request

This commit is contained in:
Yassine Guedidi 2025-01-19 02:06:54 +01:00
parent 5a8b581adf
commit 83164d0706
6 changed files with 9 additions and 9 deletions

View file

@ -155,7 +155,7 @@ class TagController extends AbstractController
$entries->setCurrentPage($page);
} catch (OutOfRangeCurrentPageException $e) {
if ($page > 1) {
return $this->redirect($this->generateUrl($request->get('_route'), [
return $this->redirect($this->generateUrl($request->attributes->get('_route'), [
'slug' => $tag->getSlug(),
'page' => $entries->getNbPages(),
]), 302);