import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
import { VideoTrendingComponent } from './video-list/video-trending.component'
import { VideosComponent } from './videos.component'
+import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component'
const videosRoutes: Routes = [
{
component: VideosComponent,
canActivateChild: [ MetaGuard ],
children: [
- {
- path: 'list',
- pathMatch: 'full',
- redirectTo: 'recently-added'
- },
{
path: 'trending',
component: VideoTrendingComponent,
}
}
},
+ {
+ path: 'subscriptions',
+ component: VideoUserSubscriptionsComponent,
+ data: {
+ meta: {
+ title: 'Subscriptions'
+ }
+ }
+ },
{
path: 'local',
component: VideoLocalComponent,