app/Http/Controllers/KelasController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $mkelas = Kelas::all(); 
        return view('kelas.indexKelas' , compact('mkelas'));
    }
public function index ( ) { $ mkelas = Kelas :: all ( ) ; return view ( 'kelas.indexKelas' , compact ( 'mkelas' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//select * from