0a7f905c21
Adds a current-list-of-speakers button to the agenda list view The user may select a projector which will return an agenda item which will be used to determine the CLOS
25 lines
1.1 KiB
TypeScript
25 lines
1.1 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
import { AgendaImportListComponent } from './components/agenda-import-list/agenda-import-list.component';
|
|
import { AgendaListComponent } from './components/agenda-list/agenda-list.component';
|
|
import { AgendaSortComponent } from './components/agenda-sort/agenda-sort.component';
|
|
import { SpeakerListComponent } from './components/speaker-list/speaker-list.component';
|
|
import { TopicDetailComponent } from './components/topic-detail/topic-detail.component';
|
|
|
|
const routes: Routes = [
|
|
{ path: '', component: AgendaListComponent },
|
|
{ path: 'import', component: AgendaImportListComponent },
|
|
{ path: 'topics/new', component: TopicDetailComponent },
|
|
{ path: 'sort-agenda', component: AgendaSortComponent },
|
|
{ path: 'speakers', component: SpeakerListComponent },
|
|
{ path: 'topics/:id', component: TopicDetailComponent },
|
|
{ path: ':id/speakers', component: SpeakerListComponent }
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AgendaRoutingModule {}
|