aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+admin/video-blacklist/video-blacklist.routes.ts
blob: 682b6f8bd843fda1ac99fe62a783d4c61799656b (plain) (tree)


























                                                                     
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'
          }
        }
      }
    ]
  }
]