/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $this->authorize('users-index'); return view('users.index')->withUsers($this->userRepository->getOrderedListWithRoles()); }