]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/login/login-routing.module.ts
Share models between server and client
[github/Chocobozzz/PeerTube.git] / client / src / app / login / login-routing.module.ts
... / ...
CommitLineData
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3
4import { LoginComponent } from './login.component'
5
6const loginRoutes: Routes = [
7 {
8 path: 'login',
9 component: LoginComponent,
10 data: {
11 meta: {
12 title: 'Login'
13 }
14 }
15 }
16]
17
18@NgModule({
19 imports: [ RouterModule.forChild(loginRoutes) ],
20 exports: [ RouterModule ]
21})
22export class LoginRoutingModule {}