diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-14 14:13:23 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-15 10:49:10 +0100 |
commit | d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20 (patch) | |
tree | 6bdcbe9893574e0b5a41c4854c7f986f346ba761 /client/src/app/+remote-interaction/remote-interaction-routing.module.ts | |
parent | b0a9743af0273835cdf594431a774c0f7d46b539 (diff) | |
download | PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.tar.gz PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.tar.zst PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.zip |
Implement remote interaction
Diffstat (limited to 'client/src/app/+remote-interaction/remote-interaction-routing.module.ts')
-rw-r--r-- | client/src/app/+remote-interaction/remote-interaction-routing.module.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/client/src/app/+remote-interaction/remote-interaction-routing.module.ts b/client/src/app/+remote-interaction/remote-interaction-routing.module.ts new file mode 100644 index 000000000..1dddfb3ba --- /dev/null +++ b/client/src/app/+remote-interaction/remote-interaction-routing.module.ts | |||
@@ -0,0 +1,23 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | import { LoginGuard } from '@app/core' | ||
4 | import { RemoteInteractionComponent } from './remote-interaction.component' | ||
5 | |||
6 | const remoteInteractionRoutes: Routes = [ | ||
7 | { | ||
8 | path: '', | ||
9 | component: RemoteInteractionComponent, | ||
10 | canActivate: [ LoginGuard ], | ||
11 | data: { | ||
12 | meta: { | ||
13 | title: $localize`Remote interaction` | ||
14 | } | ||
15 | } | ||
16 | } | ||
17 | ] | ||
18 | |||
19 | @NgModule({ | ||
20 | imports: [ RouterModule.forChild(remoteInteractionRoutes) ], | ||
21 | exports: [ RouterModule ] | ||
22 | }) | ||
23 | export class RemoteInteractionRoutingModule {} | ||