diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 15:39:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 15:39:09 +0200 |
commit | a6375e69668ea42e19531c6bc68dcd37f3f7cbd7 (patch) | |
tree | 03204a408d56311692c3528bedcf95d2455e94f2 /client/src/app/app.routes.ts | |
parent | 052937db8a8d282eccdbdf38d487ed8d85d3c0a7 (diff) | |
parent | c4403b29ad4db097af528a7f04eea07e0ed320d0 (diff) | |
download | PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.tar.gz PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.tar.zst PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.zip |
Merge branch 'master' into webseed-merged
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 | ]; |