public function index() { $files = FileResource::all(); return view('admin.fileresources.index')->with(compact('files')); }