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:
parent
5a8b581adf
commit
83164d0706
6 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue