blob: 5a41f4e7eeb460a11da3568916b3fa1e2ffaf3fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { LoginComponent } from './login.component'
import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
const loginRoutes: Routes = [
{
path: 'login',
component: LoginComponent,
canActivate: [ MetaGuard ],
data: {
meta: {
title: 'Login'
}
},
resolve: {
serverConfigLoaded: ServerConfigResolver
}
}
]
@NgModule({
imports: [ RouterModule.forChild(loginRoutes) ],
exports: [ RouterModule ]
})
export class LoginRoutingModule {}
|