diff --git a/app/Http/Controllers/MonitoringController.php b/app/Http/Controllers/MonitoringController.php index 7b4a995..a532950 100644 --- a/app/Http/Controllers/MonitoringController.php +++ b/app/Http/Controllers/MonitoringController.php @@ -2,8 +2,9 @@ namespace App\Http\Controllers; -use App\Models\materi; +use Illuminate\Http\Request; use App\Models\Siswa; +use App\Models\Materi; use App\Models\User; use Illuminate\Http\Request; @@ -62,7 +63,7 @@ public function index(Request $request) } $siswa_monitoring = User::all(); - $materi_monitoring = materi::all(); + $materi_monitoring = Materi::all(); $monitoring = $monitoring->get(); return view('monitoring_siswa.monitoring', compact('monitoring', 'materi_monitoring', 'siswa_monitoring'));