import MuhasebePiyangoDetay from '../views/MuhasebePiyangoDetay.vue'

export default [
  {
    path: '/muhasebe/piyango-detay/:piyangoId',
    redirect: (to:Record<string,any>) => ({
      name: 'MuhasebePiyangoDetay',
      params: { piyangoId: to.params.piyangoId, tabid: 'piyango-bilgileri' }
    })
  },
  {
    path: '/muhasebe/piyango-detay/:piyangoId/:tabid',
    name: 'MuhasebePiyangoDetay',
    component: MuhasebePiyangoDetay,
    meta: {
      authRequired: true
    }
  }
]
