OpenSlides/client/src/app/site/agenda/agenda-routing.module.ts

25 lines
1.1 KiB
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
2019-01-11 18:55:09 +01:00
import { AgendaImportListComponent } from './components/agenda-import-list/agenda-import-list.component';
import { AgendaListComponent } from './components/agenda-list/agenda-list.component';
2019-01-25 16:48:49 +01:00
import { AgendaSortComponent } from './components/agenda-sort/agenda-sort.component';
2019-02-21 16:15:21 +01:00
import { ListOfSpeakersComponent } from './components/list-of-speakers/list-of-speakers.component';
2019-01-25 16:48:49 +01:00
import { TopicDetailComponent } from './components/topic-detail/topic-detail.component';
const routes: Routes = [
{ path: '', component: AgendaListComponent },
2019-01-11 18:55:09 +01:00
{ path: 'import', component: AgendaImportListComponent },
{ path: 'topics/new', component: TopicDetailComponent },
2019-01-25 16:48:49 +01:00
{ path: 'sort-agenda', component: AgendaSortComponent },
2019-02-21 16:15:21 +01:00
{ path: 'speakers', component: ListOfSpeakersComponent },
{ path: 'topics/:id', component: TopicDetailComponent },
2019-02-21 16:15:21 +01:00
{ path: ':id/speakers', component: ListOfSpeakersComponent }
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class AgendaRoutingModule {}