@@ -12,6 +12,7 @@ import {AuthComponent} from "./content/auth/auth.component";
1212import { UserProfileComponent } from "./content/account" ;
1313import { PageMeetingsComponent } from "./content/meetings" ;
1414import { LogoutComponent } from "./content/auth/logout/logout.component" ;
15+ import { PageAdminEventComponent } from "./content/admin" ;
1516
1617
1718const routes : Routes = [
@@ -21,7 +22,7 @@ const routes: Routes = [
2122 { path : 'account/profile' , component : UserProfileComponent } ,
2223 { path : 'dashboard' , component : PageDashboardGeneralComponent } ,
2324 { path : 'calendar' , component : CalendarComponent } ,
24- { path : 'meetings' , redirectTo : '/meetings ' } ,
25+ { path : 'meetings' , redirectTo : '/' } ,
2526 { path : 'athlete' , component : PageAthletesGeneralComponent } ,
2627 { path : 'athlete/:entity_id' , component : PageAthleteComponent } ,
2728 { path : 'team' , component : PageTeamsGeneralComponent } ,
@@ -30,7 +31,7 @@ const routes: Routes = [
3031 {
3132 path : 'm/:event' ,
3233 children : [
33- { path : "" , component : PageDashboardEventComponent } ,
34+ { path : "" , redirectTo : 'dashboard' , pathMatch : "full" } ,
3435 { path : "dashboard" , component : PageDashboardEventComponent } ,
3536 { path : "live" , component : PageLiveComponent } ,
3637 { path : "event" , component : PageEventsComponent } ,
@@ -41,6 +42,7 @@ const routes: Routes = [
4142 { path : 'team/:entity_id' , component : PageTeamComponent } ,
4243 { path : "files" , component : PageFilesComponent } ,
4344 { path : "stats" , component : PageStatsEventComponent } ,
45+ { path : "admin" , component : PageAdminEventComponent } ,
4446 ]
4547 }
4648
0 commit comments