aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/users/users.routes.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-05-05 16:08:43 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-05-05 16:08:43 +0200
commit1f0215a908c3b447cef03c10d4b089c0788922bd (patch)
tree2968e02707debeb91dfad0c5234da90d1e59ec38 /client/src/app/+admin/users/users.routes.ts
parentc24ac1c18e26b6a24a4d294744908fb0c53ddf3c (diff)
downloadPeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.gz
PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.zst
PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.zip
Client: little refractoring
Diffstat (limited to 'client/src/app/+admin/users/users.routes.ts')
-rw-r--r--client/src/app/+admin/users/users.routes.ts50
1 files changed, 25 insertions, 25 deletions
diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.ts
index ac64c891f..21fb192e0 100644
--- a/client/src/app/+admin/users/users.routes.ts
+++ b/client/src/app/+admin/users/users.routes.ts
@@ -6,32 +6,32 @@ import { UserListComponent } from './user-list';
6 6
7export const UsersRoutes: Routes = [ 7export const UsersRoutes: Routes = [
8 { 8 {
9 path: 'users', 9 path: 'users',
10 component: UsersComponent, 10 component: UsersComponent,
11 children: [ 11 children: [
12 { 12 {
13 path: '', 13 path: '',
14 redirectTo: 'list', 14 redirectTo: 'list',
15 pathMatch: 'full' 15 pathMatch: 'full'
16 }, 16 },
17 { 17 {
18 path: 'list', 18 path: 'list',
19 component: UserListComponent, 19 component: UserListComponent,
20 data: { 20 data: {
21 meta: { 21 meta: {
22 title: 'Users list' 22 title: 'Users list'
23 }
24 } 23 }
25 }, 24 }
26 { 25 },
27 path: 'add', 26 {
28 component: UserAddComponent, 27 path: 'add',
29 data: { 28 component: UserAddComponent,
30 meta: { 29 data: {
31 title: 'Add a user' 30 meta: {
32 } 31 title: 'Add a user'
33 } 32 }
34 } 33 }
35 ] 34 }
36 } 35 ]
36 }
37]; 37];