/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $photoParents = PhotoParent::all(); return view('Admin::photoParent.index', ['photoParents' => $photoParents]); }