aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/app.routes.ts
blob: 1c414038db99582f2ee37343b263086e176899de (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                               
                                          









                                        
                   


                 
import { RouterConfig } from '@angular/router';

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

export const routes: RouterConfig = [
  {
    path: '',
    redirectTo: '/videos/list',
    pathMatch: 'full'
  },

  ...AccountRoutes,
  ...LoginRoutes,
  ...VideosRoutes
];