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