Fix somes issues
This commit is contained in:
@@ -55,7 +55,10 @@ class MeController extends AbstractController
|
||||
return $this->render('me/index.html.twig', [
|
||||
'controller_name' => 'MeController',
|
||||
'form' => $form->createView(),
|
||||
'pagination' => $paginator->paginate($user->getDocuments())
|
||||
'pagination' => $paginator->paginate(
|
||||
$user->getDocuments(),
|
||||
$request->query->getInt('page', 1)
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user