Skip to content

Commit

Permalink
Change show users to five rows
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jul 21, 2024
1 parent 13b4b16 commit 7ded1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
Route::view('/advertising', 'pages.advertising')->name('advertising');

Route::get('why-laravel/', function () {
return view('pages.why-laravel', [
'users' => \App\Models\User::inRandomOrder()->limit(4 * 12)->get()->chunk(12),
return view("pages.why-laravel", [
'users' => \App\Models\User::inRandomOrder()->limit(5 * 12)->get()->chunk(12),
]);
})->name('why-laravel');

Expand Down

0 comments on commit 7ded1a1

Please sign in to comment.