aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+login/login-routing.module.ts
blob: c5f0f23c26474d2ff73ed5c90fc68217fa1c25c4 (plain) (tree)
1
2
3
4
5
6
7
8

                                                      
                                                                                       
                                                  


                             
             


                              
                               
       

              
                                        

     
 





                                                  
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
import { LoginComponent } from './login.component'

const loginRoutes: Routes = [
  {
    path: '',
    component: LoginComponent,
    data: {
      meta: {
        title: $localize`Login`
      }
    },
    resolve: {
      serverConfig: ServerConfigResolver
    }
  }
]

@NgModule({
  imports: [ RouterModule.forChild(loginRoutes) ],
  exports: [ RouterModule ]
})
export class LoginRoutingModule {}