import { Routes } from '@angular/router';

export const knowledge: Routes = [
      {
        path: "ticket-articles/:ticket/:id", loadComponent: ()=>import('./ticketarticle/ticketarticle.component').then(e=>e.TicketarticleComponent), data: {
          permission: 'Article Create'
        }
      },
      {
        path: "articles", loadComponent: ()=>import('./articles/articles.component').then(e=>e.ArticlesComponent), data: {
          permission: 'Article Access'
        }
      },
      {
        path: "articles-create", loadComponent: ()=>import('./artical-create/artical-create.component').then(e=>e.ArticalCreateComponent), data: {
          permission: 'Article Create'
        }
      },
      {
        path: "articles-edit/:id", loadComponent: ()=>import('./artical-edit/artical-edit.component').then(e=>e.ArticalEditComponent), data: {
          permission: 'Article Edit'
        }
      },
];