public function index() { // Get all User records for current page. $users = User::where('active', 1)->paginate(25); return $this->getView()->shares('title', __d('users', 'Users'))->with('users', $users); }