💄 Ajoute la pagination

This commit is contained in:
2020-03-17 09:52:23 +01:00
parent 1a6677b8aa
commit 516d6d1d34
4 changed files with 6 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ class ImageController extends Controller
$posts_with_image = Post::where('user_id', Auth::user()->getAuthIdentifier())
->where('image', '!=', 'null')
->orderBy('created_at', 'desc')
->paginate(30);
->paginate(9);
return view('gallery.my', [
'posts' => $posts_with_image,