2020-11-25 08:59:48 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
2021-02-17 13:49:04 +01:00
|
|
|
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 {}
|