aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts/accounts-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+accounts/accounts-routing.module.ts')
-rw-r--r--client/src/app/+accounts/accounts-routing.module.ts34
1 files changed, 22 insertions, 12 deletions
diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.ts
index d2ca784b0..15937a67b 100644
--- a/client/src/app/+accounts/accounts-routing.module.ts
+++ b/client/src/app/+accounts/accounts-routing.module.ts
@@ -5,6 +5,7 @@ import { AccountsComponent } from './accounts.component'
5import { AccountVideosComponent } from './account-videos/account-videos.component' 5import { AccountVideosComponent } from './account-videos/account-videos.component'
6import { AccountAboutComponent } from './account-about/account-about.component' 6import { AccountAboutComponent } from './account-about/account-about.component'
7import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component' 7import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
8import { AccountSearchComponent } from './account-search/account-search.component'
8 9
9const accountsRoutes: Routes = [ 10const accountsRoutes: Routes = [
10 { 11 {
@@ -22,6 +23,24 @@ const accountsRoutes: Routes = [
22 pathMatch: 'full' 23 pathMatch: 'full'
23 }, 24 },
24 { 25 {
26 path: 'video-channels',
27 component: AccountVideoChannelsComponent,
28 data: {
29 meta: {
30 title: $localize`Account video channels`
31 }
32 }
33 },
34 {
35 path: 'about',
36 component: AccountAboutComponent,
37 data: {
38 meta: {
39 title: $localize`About account`
40 }
41 }
42 },
43 {
25 path: 'videos', 44 path: 'videos',
26 component: AccountVideosComponent, 45 component: AccountVideosComponent,
27 data: { 46 data: {
@@ -35,20 +54,11 @@ const accountsRoutes: Routes = [
35 } 54 }
36 }, 55 },
37 { 56 {
38 path: 'video-channels', 57 path: 'search',
39 component: AccountVideoChannelsComponent, 58 component: AccountSearchComponent,
40 data: { 59 data: {
41 meta: { 60 meta: {
42 title: $localize`Account video channels` 61 title: $localize`Search videos within account`
43 }
44 }
45 },
46 {
47 path: 'about',
48 component: AccountAboutComponent,
49 data: {
50 meta: {
51 title: $localize`About account`
52 } 62 }
53 } 63 }
54 } 64 }