/** * Display a listing of the resource. * * @return Response */ public function index() { $documents = Document::latest()->get(); return view('admin.documents.index', compact('documents')); }