This commit is contained in:
Tiago Kayaya
2020-09-01 16:09:56 +01:00
8 changed files with 100 additions and 79 deletions
+19 -8
View File
@@ -13,13 +13,22 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/events/events.module').then(m => m.EventsPageModule)
loadChildren: ()=> import('../pages/events/events.module').then(m => m.EventsPageModule)
},
{
path:':eventId',
loadChildren: ()=> import('../pages/events/event-detail/event-detail.module').then(m => m.EventDetailPageModule)
path:':eventId/:caller',
loadChildren: ()=> import('../pages/events/event-detail/event-detail.module').then(m => m.EventDetailPageModule),
// children: [
// {
// path:'',
// loadChildren: ()=> import('../pages/events/event-detail/event-detail.module').then(m => m.EventDetailPageModule),
// },
// {
// path:':caller',
// loadChildren: ()=> import('../pages/events/event-detail/event-detail.module').then(m => m.EventDetailPageModule),
// }
// ]
},
]
},
{
@@ -37,9 +46,8 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/events/attendees/attendees.module').then(m => m.AttendeesPageModule)
loadChildren: ()=> import('../pages/events/attendees/attendees.module').then(m => m.AttendeesPageModule)
},
]
},
{
@@ -47,9 +55,8 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/login/login.module').then(m => m.LoginPageModule)
loadChildren: ()=> import('../pages/login/login.module').then(m => m.LoginPageModule)
},
]
},
{
@@ -58,6 +65,10 @@ const routes: Routes = [
{
path:'',
loadChildren: ()=> import('../pages/agenda/agenda.module').then(m => m.AgendaPageModule)
},
{
path:':eventId/:caller',
loadChildren: ()=> import('../pages/events/event-detail/event-detail.module').then(m => m.EventDetailPageModule),
}
]
},