diff options
Diffstat (limited to 'client/src/app/app.routes.ts')
-rw-r--r-- | client/src/app/app.routes.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index 59ef4ce55..03e2bce51 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts | |||
@@ -1,15 +1,18 @@ | |||
1 | import { RouterConfig } from '@angular/router'; | 1 | import { Routes } from '@angular/router'; |
2 | 2 | ||
3 | import { AccountRoutes } from './account'; | ||
3 | import { LoginRoutes } from './login'; | 4 | import { LoginRoutes } from './login'; |
5 | import { AdminRoutes } from './admin'; | ||
4 | import { VideosRoutes } from './videos'; | 6 | import { VideosRoutes } from './videos'; |
5 | 7 | ||
6 | export const routes: RouterConfig = [ | 8 | export const routes: Routes = [ |
7 | { | 9 | { |
8 | path: '', | 10 | path: '', |
9 | redirectTo: '/videos/list', | 11 | redirectTo: '/videos/list', |
10 | pathMatch: 'full' | 12 | pathMatch: 'full' |
11 | }, | 13 | }, |
12 | 14 | ...AdminRoutes, | |
15 | ...AccountRoutes, | ||
13 | ...LoginRoutes, | 16 | ...LoginRoutes, |
14 | ...VideosRoutes | 17 | ...VideosRoutes |
15 | ]; | 18 | ]; |