mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
741 B
27 lines
741 B
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { AuthGuard } from '@ghostfolio/client/core/auth.guard';
|
|
|
|
import { ResourcesPageComponent } from './resources-page.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
canActivate: [AuthGuard],
|
|
component: ResourcesPageComponent,
|
|
path: '',
|
|
title: $localize`Resources`
|
|
},
|
|
...['personal-finance-tools'].map((path) => ({
|
|
path,
|
|
loadChildren: () =>
|
|
import(
|
|
'./personal-finance-tools/personal-finance-tools-page.module'
|
|
).then((m) => m.PersonalFinanceToolsPageModule)
|
|
}))
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class ResourcesPageRoutingModule {}
|
|
|