cic-staff-client/src/app/pages/settings/settings-routing.module.ts

18 lines
579 B
TypeScript
Raw Normal View History

2020-11-25 08:59:48 +01:00
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SettingsComponent } from '@pages/settings/settings.component';
2021-05-10 18:15:25 +02:00
import { OrganizationComponent } from '@pages/settings/organization/organization.component';
2020-11-25 08:59:48 +01:00
const routes: Routes = [
{ path: '', component: SettingsComponent },
{ path: 'organization', component: OrganizationComponent },
2021-05-10 18:15:25 +02:00
{ path: '**', redirectTo: '', pathMatch: 'full' },
2020-11-25 08:59:48 +01:00
];
@NgModule({
imports: [RouterModule.forChild(routes)],
2021-05-10 18:15:25 +02:00
exports: [RouterModule],
2020-11-25 08:59:48 +01:00
})
2021-05-10 18:15:25 +02:00
export class SettingsRoutingModule {}