]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/app-routing.module.ts
Video views is implemented. Closes https://github.com/Chocobozzz/PeerTube/issues/41
[github/Chocobozzz/PeerTube.git] / client / src / app / app-routing.module.ts
1 import { NgModule } from '@angular/core';
2 import { Routes, RouterModule } from '@angular/router';
3
4 const routes: Routes = [
5 {
6 path: '',
7 redirectTo: '/videos/list',
8 pathMatch: 'full'
9 },
10 {
11 path: 'admin',
12 loadChildren: './+admin#AdminModule'
13 }
14 ];
15
16 @NgModule({
17 imports: [ RouterModule.forRoot(routes) ],
18 exports: [ RouterModule ]
19 })
20 export class AppRoutingModule {}
21