/** * Display a listing of the resource. * * @return Response */ public function onlyTrashed() { $total = \App\Difficulty::onlyTrashed()->count(); $rows = \App\Difficulty::onlyTrashed()->paginate(10); $showDelete = true; return view('difficulty.index')->with(compact('rows', 'total', 'showDelete')); }