/** * Returning the user listing view. */ public function handleUserListing() { // checking the access for the user PermApi::access_check('manage_users'); $SentryUser = new SentryUser(); $users = $SentryUser->getUsers()->paginate(10); $this->layout->content = View::make('sentryuser::user-listing')->with('users', $users); }