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



                              
                               
             
                      

       
 




                                                  
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'

import { MetaGuard } from '@ngx-meta/core'

import { LoginComponent } from './login.component'

const loginRoutes: Routes = [
  {
    path: 'login',
    component: LoginComponent,
    canActivate: [ MetaGuard ],
    data: {
      meta: {
        title: 'Login'
      }
    }
  }
]

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