import { MyAccountVideoChannelsComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channels.component'
import { MyAccountVideoChannelCreateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-create.component'
import { MyAccountVideoChannelUpdateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-update.component'
+import { MyAccountVideoImportsComponent } from '@app/+my-account/my-account-video-imports/my-account-video-imports.component'
+import { MyAccountSubscriptionsComponent } from '@app/+my-account/my-account-subscriptions/my-account-subscriptions.component'
const myAccountRoutes: Routes = [
{
component: MyAccountComponent,
canActivateChild: [ MetaGuard, LoginGuard ],
children: [
+ {
+ path: '',
+ redirectTo: 'settings',
+ pathMatch: 'full'
+ },
{
path: 'settings',
component: MyAccountSettingsComponent,
title: 'Account videos'
}
}
+ },
+ {
+ path: 'video-imports',
+ component: MyAccountVideoImportsComponent,
+ data: {
+ meta: {
+ title: 'Account video imports'
+ }
+ }
+ },
+ {
+ path: 'subscriptions',
+ component: MyAccountSubscriptionsComponent,
+ data: {
+ meta: {
+ title: 'Account subscriptions'
+ }
+ }
}
]
}