💄 Ajoute la pagination
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user