Client: better confirm box for a beautiful world
[oweals/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