]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+remote-interaction/remote-interaction-routing.module.ts
Improve remote runner config UX
[github/Chocobozzz/PeerTube.git] / client / src / app / +remote-interaction / remote-interaction-routing.module.ts
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 {}