diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 09:26:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-09 09:32:26 +0200 |
commit | 62e62f118d5da57acd3494fece2e8ed357564ffe (patch) | |
tree | ff5b7c6ec5708d71a76a2eb5744d810015ae29a5 /client/src/app/app-routing.module.ts | |
parent | 1952a538baa330b13bd11631b3975f7ef1c37e70 (diff) | |
download | PeerTube-62e62f118d5da57acd3494fece2e8ed357564ffe.tar.gz PeerTube-62e62f118d5da57acd3494fece2e8ed357564ffe.tar.zst PeerTube-62e62f118d5da57acd3494fece2e8ed357564ffe.zip |
Load my-account module lazily
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r-- | client/src/app/app-routing.module.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index 799748cfa..936912d28 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts | |||
@@ -9,6 +9,10 @@ const routes: Routes = [ | |||
9 | loadChildren: './+admin/admin.module#AdminModule' | 9 | loadChildren: './+admin/admin.module#AdminModule' |
10 | }, | 10 | }, |
11 | { | 11 | { |
12 | path: 'my-account', | ||
13 | loadChildren: './+my-account/my-account.module#MyAccountModule' | ||
14 | }, | ||
15 | { | ||
12 | path: 'accounts', | 16 | path: 'accounts', |
13 | loadChildren: './+accounts/accounts.module#AccountsModule' | 17 | loadChildren: './+accounts/accounts.module#AccountsModule' |
14 | }, | 18 | }, |