public function index() { $modal = new soal(); $soal = $modal->with('materi')->get(); return view('soal', ['soals' => $soal, 'nama_user' => $this->getUser()]); // return $soal; }