app/Http/Controllers/ProdiController.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()
    {
        $prodis = Prodi::get();
        return view('prodi.index', compact('prodis'));
    }
public function index ( ) { $ prodis = Prodi :: get ( ) ; return view ( 'prodi.index' , compact ( 'prodis' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .