aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+register/register-routing.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-29 14:39:49 +0200
committerChocobozzz <me@florianbigard.com>2019-05-29 14:39:49 +0200
commitb247a132709eb212fef4f77c4912dc0ec108f36b (patch)
treeb2700e6ed55e00cd213c44e8afdeea4c327ae904 /client/src/app/+signup/+register/register-routing.module.ts
parent1d5342abc43df02cf0bd69b1e865c0f179182eef (diff)
downloadPeerTube-b247a132709eb212fef4f77c4912dc0ec108f36b.tar.gz
PeerTube-b247a132709eb212fef4f77c4912dc0ec108f36b.tar.zst
PeerTube-b247a132709eb212fef4f77c4912dc0ec108f36b.zip
Add success icon on registration
Diffstat (limited to 'client/src/app/+signup/+register/register-routing.module.ts')
-rw-r--r--client/src/app/+signup/+register/register-routing.module.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/client/src/app/+signup/+register/register-routing.module.ts b/client/src/app/+signup/+register/register-routing.module.ts
new file mode 100644
index 000000000..e3a5001dc
--- /dev/null
+++ b/client/src/app/+signup/+register/register-routing.module.ts
@@ -0,0 +1,28 @@
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { MetaGuard } from '@ngx-meta/core'
4import { RegisterComponent } from './register.component'
5import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
6import { UnloggedGuard } from '@app/core/routing/unlogged-guard.service'
7
8const registerRoutes: Routes = [
9 {
10 path: '',
11 component: RegisterComponent,
12 canActivate: [ MetaGuard, UnloggedGuard ],
13 data: {
14 meta: {
15 title: 'Register'
16 }
17 },
18 resolve: {
19 serverConfigLoaded: ServerConfigResolver
20 }
21 }
22]
23
24@NgModule({
25 imports: [ RouterModule.forChild(registerRoutes) ],
26 exports: [ RouterModule ]
27})
28export class RegisterRoutingModule {}