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