function Routes() {
  return (
        <Switch>
          <CustomRoute exact path="/" component={LoginPage} />
          <CustomRoute isPrivate exact path="/home" component={HomePage} />
          <CustomRoute isPrivate exact path="/profile" component={ProfilePage} />
          <CustomRoute isPrivate exact path="/payments" component={PaymentsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments" component={PaymentsAdminPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/list" component={PaymentsListAllPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/methods" component={PaymentMethodsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/methods/steps" component={PaymentMethodStepsPage} />
          <CustomRoute isPrivate exact path="/partnerships" component={PartnershipsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships" component={PartnershipsAdminPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships/advantages" component={PartnershipAdvantagesPage}/>
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships/addresses" component={PartnershipAddressesPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/associates" component={AssociatesPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/groups" component={GroupsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/settings" component={SettingsPage} />
      </Switch>
  );
}
/**
 * 
 * @returns Route definitions and its components
 */
@returns Route definitions and its components
@returns Route definitions and its components
function Routes() {
  return (
        <Switch>
          <CustomRoute exact path="/" component={LoginPage} />
          <CustomRoute isPrivate exact path="/home" component={HomePage} />
          <CustomRoute isPrivate exact path="/profile" component={ProfilePage} />
          <CustomRoute isPrivate exact path="/payments" component={PaymentsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments" component={PaymentsAdminPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/list" component={PaymentsListAllPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/methods" component={PaymentMethodsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/payments/methods/steps" component={PaymentMethodStepsPage} />
          <CustomRoute isPrivate exact path="/partnerships" component={PartnershipsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships" component={PartnershipsAdminPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships/advantages" component={PartnershipAdvantagesPage}/>
          <CustomRoute isPrivate mustBeAdmin exact path="/admin/partnerships/addresses" component={PartnershipAddressesPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/associates" component={AssociatesPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/groups" component={GroupsPage} />
          <CustomRoute isPrivate mustBeAdmin exact path="/settings" component={SettingsPage} />
      </Switch>
  );
}
function Routes ( ) { return ( < Switch > < CustomRoute exact path = "/" component = { LoginPage } / > < CustomRoute isPrivate exact path = "/home" component = { HomePage } / > < CustomRoute isPrivate exact path = "/profile" component = { ProfilePage } / > < CustomRoute isPrivate exact path = "/payments" component = { PaymentsPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/payments" component = { PaymentsAdminPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/payments/list" component = { PaymentsListAllPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/payments/methods" component = { PaymentMethodsPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/payments/methods/steps" component = { PaymentMethodStepsPage } / > < CustomRoute isPrivate exact path = "/partnerships" component = { PartnershipsPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/partnerships" component = { PartnershipsAdminPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/partnerships/advantages" component = { PartnershipAdvantagesPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/admin/partnerships/addresses" component = { PartnershipAddressesPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/associates" component = { AssociatesPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/groups" component = { GroupsPage } / > < CustomRoute isPrivate mustBeAdmin exact path = "/settings" component = { SettingsPage } / > < / Switch > ) ; }
@returns Route definitions and its components
@returns Route definitions and its components