diff options
Diffstat (limited to 'client/src/app/admin/admin-routing.module.ts')
-rw-r--r-- | client/src/app/admin/admin-routing.module.ts | 32 |
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 @@ | |||
1 | import { NgModule } from '@angular/core'; | ||
2 | import { RouterModule, Routes } from '@angular/router'; | ||
3 | |||
4 | import { AdminComponent } from './admin.component'; | ||
5 | import { FriendsRoutes } from './friends'; | ||
6 | import { RequestsRoutes } from './requests'; | ||
7 | import { UsersRoutes } from './users'; | ||
8 | import { VideoAbusesRoutes } from './video-abuses'; | ||
9 | |||
10 | const 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 | }) | ||
32 | export class AdminRoutingModule {} | ||