mirror of
https://github.com/10h30/Test-Laravel-Blade-Basics.git
synced 2026-07-11 18:56:15 +09:00
Complete task 5
This commit is contained in:
@@ -11,7 +11,7 @@ class HomeController extends Controller
|
||||
{
|
||||
$usersCount = User::count();
|
||||
|
||||
return view('users');
|
||||
return view('users', compact('usersCount'));
|
||||
}
|
||||
|
||||
// Task 2. Change the View code so alert would not show on the screen
|
||||
|
||||
Reference in New Issue
Block a user