app/Http/Controllers/InfopraktisController.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()
    {
        $info =  Infopraktis::all();
        return view('info.index', compact('info'));
    }
public function index ( ) { $ info = Infopraktis :: all ( ) ; return view ( 'info.index' , compact ( 'info' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .