import PiyangoDetay from '@/module/cekilisler/views/PiyangoDetay.vue'

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