aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/admin-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/admin/admin-routing.module.ts')
-rw-r--r--client/src/app/admin/admin-routing.module.ts32
1 files changed, 0 insertions, 32 deletions
diff --git a/client/src/app/admin/admin-routing.module.ts b/client/src/app/admin/admin-routing.module.ts
deleted file mode 100644
index cabc6df15..000000000
--- a/client/src/app/admin/admin-routing.module.ts
+++ /dev/null
@@ -1,32 +0,0 @@
1import { NgModule } from '@angular/core';
2import { RouterModule, Routes } from '@angular/router';
3
4import { AdminComponent } from './admin.component';
5import { FriendsRoutes } from './friends';
6import { RequestsRoutes } from './requests';
7import { UsersRoutes } from './users';
8import { VideoAbusesRoutes } from './video-abuses';
9
10const adminRoutes: Routes = [
11 {
12 path: 'admin',
13 component: AdminComponent,
14 children: [
15 {
16 path: '',
17 redirectTo: 'users',
18 pathMatch: 'full'
19 },
20 ...FriendsRoutes,
21 ...RequestsRoutes,
22 ...UsersRoutes,
23 ...VideoAbusesRoutes
24 ]
25 }
26];
27
28@NgModule({
29 imports: [ RouterModule.forChild(adminRoutes) ],
30 exports: [ RouterModule ]
31})
32export class AdminRoutingModule {}