diff options
Diffstat (limited to 'client/src/app/+accounts/accounts-routing.module.ts')
-rw-r--r-- | client/src/app/+accounts/accounts-routing.module.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.ts index 2f3792a8d..d80df2293 100644 --- a/client/src/app/+accounts/accounts-routing.module.ts +++ b/client/src/app/+accounts/accounts-routing.module.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { AccountSearchComponent } from './account-search/account-search.component' | ||
4 | import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component' | 3 | import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component' |
5 | import { AccountVideosComponent } from './account-videos/account-videos.component' | 4 | import { AccountVideosComponent } from './account-videos/account-videos.component' |
6 | import { AccountsComponent } from './accounts.component' | 5 | import { AccountsComponent } from './accounts.component' |
@@ -41,14 +40,11 @@ const accountsRoutes: Routes = [ | |||
41 | } | 40 | } |
42 | } | 41 | } |
43 | }, | 42 | }, |
43 | |||
44 | // Old URL redirection | ||
44 | { | 45 | { |
45 | path: 'search', | 46 | path: 'search', |
46 | component: AccountSearchComponent, | 47 | redirectTo: 'videos' |
47 | data: { | ||
48 | meta: { | ||
49 | title: $localize`Search videos within account` | ||
50 | } | ||
51 | } | ||
52 | } | 48 | } |
53 | ] | 49 | ] |
54 | } | 50 | } |