app/Http/Controllers/User/PartnersController.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(){
        $partners = Partner::paginate(10);
        return view('partners.index', compact('partners'));
    }
public function index ( ) { $ partners = Partner :: paginate ( 10 ) ; return view ( 'partners.index' , compact ( 'partners' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .