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

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

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