/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $roles = $this->roles->orderBy('id', 'desc')->paginate(10); return view('backend.role.index', compact('roles')); }