aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/app.routes.ts
blob: 03e2bce5128102984d063c4cc6c4bf4043cb7cef (plain) (tree)
1
2
3
4
5
6
7
8
                                         
 
                                          
                                      
                                      
                                        
                               



                               
                 
                   

                 
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
];