aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.routes.ts
blob: d7194cb4feca3cf6419da8e0e94644f65ec90400 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { RouterConfig } from '@angular/router';

import { AccountRoutes } from './account';
import { LoginRoutes } from './login';
import { AdminRoutes } from './admin';
import { VideosRoutes } from './videos';

export const routes: RouterConfig = [
  {
    path: '',
    redirectTo: '/videos/list',
    pathMatch: 'full'
  },
  ...AdminRoutes,
  ...AccountRoutes,
  ...LoginRoutes,
  ...VideosRoutes
];