diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:49:20 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 1942f11d5ee6926ad93dc1b79fae18325ba5de18 (patch) | |
tree | 3f2a3cd9466a56c419d197ac832a3e9cbc86bec4 /client/src/app/login/login-routing.module.ts | |
parent | 67ed6552b831df66713bac9e672738796128d33f (diff) | |
download | PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.gz PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.zst PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.zip |
Lazy load all routes
Diffstat (limited to 'client/src/app/login/login-routing.module.ts')
-rw-r--r-- | client/src/app/login/login-routing.module.ts | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts deleted file mode 100644 index 22f59b4d9..000000000 --- a/client/src/app/login/login-routing.module.ts +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | import { LoginComponent } from './login.component' | ||
5 | import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service' | ||
6 | |||
7 | const loginRoutes: Routes = [ | ||
8 | { | ||
9 | path: 'login', | ||
10 | component: LoginComponent, | ||
11 | canActivate: [ MetaGuard ], | ||
12 | data: { | ||
13 | meta: { | ||
14 | title: 'Login' | ||
15 | } | ||
16 | }, | ||
17 | resolve: { | ||
18 | serverConfig: ServerConfigResolver | ||
19 | } | ||
20 | } | ||
21 | ] | ||
22 | |||
23 | @NgModule({ | ||
24 | imports: [ RouterModule.forChild(loginRoutes) ], | ||
25 | exports: [ RouterModule ] | ||
26 | }) | ||
27 | export class LoginRoutingModule {} | ||