X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp-routing.module.ts;h=936912d282fedddb07d171c6ccf593804da68729;hb=62e62f118d5da57acd3494fece2e8ed357564ffe;hp=c8a6b392429238fadf7d82b9d41e34fe1ead5c09;hpb=901637bb87f5eb0518fb7ca69d98b53ed918339e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index c8a6b3924..936912d28 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts @@ -1,6 +1,5 @@ import { NgModule } from '@angular/core' -import { Routes, RouterModule } from '@angular/router' -import { RedirectService } from '@app/core/routing/redirect.service' +import { RouterModule, Routes } from '@angular/router' import { PreloadSelectedModulesList } from './core' @@ -8,6 +7,18 @@ const routes: Routes = [ { path: 'admin', loadChildren: './+admin/admin.module#AdminModule' + }, + { + path: 'my-account', + loadChildren: './+my-account/my-account.module#MyAccountModule' + }, + { + path: 'accounts', + loadChildren: './+accounts/accounts.module#AccountsModule' + }, + { + path: 'video-channels', + loadChildren: './+video-channels/video-channels.module#VideoChannelsModule' } ]