aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/video-blacklist/video-blacklist.routes.ts
blob: 682b6f8bd843fda1ac99fe62a783d4c61799656b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Routes } from '@angular/router'

import { VideoBlacklistComponent } from './video-blacklist.component'
import { VideoBlacklistListComponent } from './video-blacklist-list'

export const VideoBlacklistRoutes: Routes = [
  {
    path: 'video-blacklist',
    component: VideoBlacklistComponent,
    children: [
      {
        path: '',
        redirectTo: 'list',
        pathMatch: 'full'
      },
      {
        path: 'list',
        component: VideoBlacklistListComponent,
        data: {
          meta: {
            title: 'Blacklisted videos'
          }
        }
      }
    ]
  }
]