diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-08-09 21:45:21 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-08-09 21:45:21 +0200 |
commit | 7da18e4420c4b71a8ecfda07f39324fbfec081c3 (patch) | |
tree | 2755feedd730a78cdc407e7a79bcbfce3ebe71c8 /client/src/app/admin/admin.routes.ts | |
parent | 68a3b9f2aacb0225ae8b883b561b144bac339cbd (diff) | |
download | PeerTube-7da18e4420c4b71a8ecfda07f39324fbfec081c3.tar.gz PeerTube-7da18e4420c4b71a8ecfda07f39324fbfec081c3.tar.zst PeerTube-7da18e4420c4b71a8ecfda07f39324fbfec081c3.zip |
Client: add user management
Diffstat (limited to 'client/src/app/admin/admin.routes.ts')
-rw-r--r-- | client/src/app/admin/admin.routes.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/admin/admin.routes.ts b/client/src/app/admin/admin.routes.ts new file mode 100644 index 000000000..d375a86af --- /dev/null +++ b/client/src/app/admin/admin.routes.ts | |||
@@ -0,0 +1,14 @@ | |||
1 | import { RouterConfig } from '@angular/router'; | ||
2 | |||
3 | import { AdminComponent } from './admin.component'; | ||
4 | import { UsersRoutes } from './users'; | ||
5 | |||
6 | export const AdminRoutes: RouterConfig = [ | ||
7 | { | ||
8 | path: 'admin', | ||
9 | component: AdminComponent, | ||
10 | children: [ | ||
11 | ...UsersRoutes | ||
12 | ] | ||
13 | } | ||
14 | ]; | ||