mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-25 07:14:22 +00:00
changed "bookings" folder name to "booking"
updated routes
This commit is contained in:
@@ -11,22 +11,23 @@ const SettingsProfile = () => import('~/pages/settings/profile').then(m => m.def
|
||||
const SettingsPassword = () => import('~/pages/settings/password').then(m => m.default || m)
|
||||
|
||||
// Booking
|
||||
const Upload = () => import('~/pages/bookings/uploadUserBankSlip').then(m => m.default || m)
|
||||
const Confirmation = () => import('~/pages/bookings/confirmation').then(m => m.default || m)
|
||||
const Upload = () => import('~/pages/booking/uploadUserBankSlip').then(m => m.default || m)
|
||||
const Confirmation = () => import('~/pages/booking/confirmation').then(m => m.default || m)
|
||||
const Transfer = () => import('~/pages/booking/transfer').then(m => m.default || m)
|
||||
const UploadPo = () => import('~/pages/booking/uploadPo').then(m => m.default || m)
|
||||
const Completed = () => import('~/pages/booking/completed').then(m => m.default || m)
|
||||
|
||||
|
||||
const AdminHome = () => import('~/pages/admin/home').then(m => m.default || m)
|
||||
|
||||
export default [
|
||||
{ path: '/', name: 'welcome', component: Welcome },
|
||||
|
||||
{ path: '/login', name: 'login', component: Login },
|
||||
{ path: '/register', name: 'register', component: Register },
|
||||
{ path: '/password/reset', name: 'password.request', component: PasswordEmail },
|
||||
{ path: '/password/reset/:token', name: 'password.reset', component: PasswordReset },
|
||||
|
||||
{ path: '/home', name: 'home', component: Home },
|
||||
{ path: '/upload-user-bankslip', name: 'booking.user.upload', component: Upload },
|
||||
{ path: '/booking/confirmation', name: 'booking.confirmation', component: Confirmation },
|
||||
{ path: '/settings',
|
||||
component: Settings,
|
||||
children: [
|
||||
@@ -34,8 +35,15 @@ export default [
|
||||
{ path: 'profile', name: 'settings.profile', component: SettingsProfile },
|
||||
{ path: 'password', name: 'settings.password', component: SettingsPassword }
|
||||
] },
|
||||
|
||||
// Booking
|
||||
{ path: '/booking/upload-user-bankslip', name: 'booking.user.upload', component: Upload },
|
||||
{ path: '/booking/confirmation', name: 'booking.confirmation', component: Confirmation },
|
||||
{ path: '/booking/transfer', name: 'booking.transfer', component: Transfer },
|
||||
{ path: '/booking/uploadPo', name: 'booking.user.uploadpo', component: UploadPo },
|
||||
{ path: '/booking/complete', name: 'booking.complete', component: Completed },
|
||||
|
||||
|
||||
{ path: '/admin', name: 'admin.home', component: AdminHome },
|
||||
|
||||
{ path: '*', component: NotFound }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user