X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-library%2F%2Bmy-video-channels%2Fmy-video-channels-routing.module.ts;h=b4962ed356fd25ca0a86c97b21508ef819d5fd0a;hb=4e56f0fff12ab9840574e7a27277fc78b195b3e2;hp=6b8efad0b0f2e7c7feffec8be4d98ad316530883;hpb=17119e4a546522468878cf115558b17949ab50d0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts b/client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts index 6b8efad0b..b4962ed35 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts @@ -1,7 +1,5 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' -import { MyVideoChannelUpdateComponent } from './my-video-channel-update.component' -import { MyVideoChannelCreateComponent } from './my-video-channel-create.component' import { MyVideoChannelsComponent } from './my-video-channels.component' const myVideoChannelsRoutes: Routes = [ @@ -16,21 +14,11 @@ const myVideoChannelsRoutes: Routes = [ }, { path: 'create', - component: MyVideoChannelCreateComponent, - data: { - meta: { - title: $localize`Create a new video channel` - } - } + redirectTo: '/manage/create' }, { - path: 'update/:videoChannelId', - component: MyVideoChannelUpdateComponent, - data: { - meta: { - title: $localize`Update video channel` - } - } + path: 'update/:videoChannelName', + redirectTo: '/manage/update/:videoChannelName' } ]