From 1f0215a908c3b447cef03c10d4b089c0788922bd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2017 16:08:43 +0200 Subject: Client: little refractoring --- client/src/app/+admin/users/users.routes.ts | 50 ++++++++++++++--------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'client/src/app/+admin/users/users.routes.ts') 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'; export const UsersRoutes: Routes = [ { - path: 'users', - component: UsersComponent, - children: [ - { - path: '', - redirectTo: 'list', - pathMatch: 'full' - }, - { - path: 'list', - component: UserListComponent, - data: { - meta: { - title: 'Users list' - } + path: 'users', + component: UsersComponent, + children: [ + { + path: '', + redirectTo: 'list', + pathMatch: 'full' + }, + { + path: 'list', + component: UserListComponent, + data: { + meta: { + title: 'Users list' } - }, - { - path: 'add', - component: UserAddComponent, - data: { - meta: { - title: 'Add a user' - } + } + }, + { + path: 'add', + component: UserAddComponent, + data: { + meta: { + title: 'Add a user' } } - ] - } + } + ] + } ]; -- cgit v1.2.3