diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-23 16:16:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-23 16:16:05 +0200 |
commit | 4bb6886d28cc5333bbe1523674bf5db141af456f (patch) | |
tree | 86276bfa11afdd4357ac45df2ead26a41f181069 /client/src/app/account/account-routing.module.ts | |
parent | 3186046d17cc09a3426d5ea67835f4c936cb18a3 (diff) | |
download | PeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.tar.gz PeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.tar.zst PeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.zip |
Rename account module to my-account
Diffstat (limited to 'client/src/app/account/account-routing.module.ts')
-rw-r--r-- | client/src/app/account/account-routing.module.ts | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/client/src/app/account/account-routing.module.ts b/client/src/app/account/account-routing.module.ts deleted file mode 100644 index 070b9b5c5..000000000 --- a/client/src/app/account/account-routing.module.ts +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | |||
4 | import { MetaGuard } from '@ngx-meta/core' | ||
5 | |||
6 | import { LoginGuard } from '../core' | ||
7 | import { AccountComponent } from './account.component' | ||
8 | import { AccountSettingsComponent } from './account-settings/account-settings.component' | ||
9 | import { AccountVideosComponent } from './account-videos/account-videos.component' | ||
10 | |||
11 | const accountRoutes: Routes = [ | ||
12 | { | ||
13 | path: 'account', | ||
14 | component: AccountComponent, | ||
15 | canActivateChild: [ MetaGuard, LoginGuard ], | ||
16 | children: [ | ||
17 | { | ||
18 | path: 'settings', | ||
19 | component: AccountSettingsComponent, | ||
20 | data: { | ||
21 | meta: { | ||
22 | title: 'Account settings' | ||
23 | } | ||
24 | } | ||
25 | }, | ||
26 | { | ||
27 | path: 'videos', | ||
28 | component: AccountVideosComponent, | ||
29 | data: { | ||
30 | meta: { | ||
31 | title: 'Account videos' | ||
32 | } | ||
33 | } | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | ] | ||
38 | |||
39 | @NgModule({ | ||
40 | imports: [ RouterModule.forChild(accountRoutes) ], | ||
41 | exports: [ RouterModule ] | ||
42 | }) | ||
43 | export class AccountRoutingModule {} | ||