Skip to content

Commit

Permalink
question #1
Browse files Browse the repository at this point in the history
question #1
  • Loading branch information
spareparts23 committed Nov 5, 2023
1 parent e3ace47 commit 8a14465
Show file tree
Hide file tree
Showing 2 changed files with 955 additions and 689 deletions.
5 changes: 4 additions & 1 deletion app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ public function users()
{
$usersCount = User::count();

return view('users');
return view('users', [

'usersCount' => $usersCount
]);
}

// Task 2. Change the View code so alert would not show on the screen
Expand Down
Loading

0 comments on commit 8a14465

Please sign in to comment.