/** * Display a listing of the resource. * * @return Response */ public function index() { $media = Media::orderBy('created_at', 'DESC')->paginate(5); return view('media.index', compact('media')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $media = Media::orderBy('created_at', 'DESC')->paginate(5); return view('media.index', compact('media')); }