/** * Display a listing of the Role. * * @param Request $request * @return Response */ public function index(Request $request) { $this->authorize('system.view'); $this->roleRepository->pushCriteria(new RequestCriteria($request)); $roles = $this->roleRepository->paginate(50); return view('roles.index')->with('roles', $roles); }