diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-30 14:58:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-31 09:19:58 +0200 |
commit | 2d3741d6d92e9bd1f41694c7442a6d1da434e1f2 (patch) | |
tree | 93a1e609e14bc14ca9e77a6661ddc9c0e461d6f3 /client/src/app/videos/videos-routing.module.ts | |
parent | d9eaee3939bf2e93e5d775d32bce77842201faba (diff) | |
download | PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.gz PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.zst PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.zip |
Videos overview page: first version
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 18ed52570..58988ffd1 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -6,6 +6,7 @@ import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.c | |||
6 | import { VideoTrendingComponent } from './video-list/video-trending.component' | 6 | import { VideoTrendingComponent } from './video-list/video-trending.component' |
7 | import { VideosComponent } from './videos.component' | 7 | import { VideosComponent } from './videos.component' |
8 | import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' | 8 | import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' |
9 | import { VideoOverviewComponent } from '@app/videos/video-list/video-overview.component' | ||
9 | 10 | ||
10 | const videosRoutes: Routes = [ | 11 | const videosRoutes: Routes = [ |
11 | { | 12 | { |
@@ -14,6 +15,15 @@ const videosRoutes: Routes = [ | |||
14 | canActivateChild: [ MetaGuard ], | 15 | canActivateChild: [ MetaGuard ], |
15 | children: [ | 16 | children: [ |
16 | { | 17 | { |
18 | path: 'overview', | ||
19 | component: VideoOverviewComponent, | ||
20 | data: { | ||
21 | meta: { | ||
22 | title: 'Videos overview' | ||
23 | } | ||
24 | } | ||
25 | }, | ||
26 | { | ||
17 | path: 'trending', | 27 | path: 'trending', |
18 | component: VideoTrendingComponent, | 28 | component: VideoTrendingComponent, |
19 | data: { | 29 | data: { |