97f60c1e6c
strings.
32 lines
991 B
TypeScript
32 lines
991 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { ProjectorListComponent } from './components/projector-list/projector-list.component';
|
|
import { ProjectorDetailComponent } from './components/projector-detail/projector-detail.component';
|
|
import { CountdownListComponent } from './components/countdown-list/countdown-list.component';
|
|
import { ProjectorMessageListComponent } from './components/projectormessage-list/projectormessage-list.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: ProjectorListComponent
|
|
},
|
|
{
|
|
path: 'detail/:id',
|
|
component: ProjectorDetailComponent
|
|
},
|
|
{
|
|
path: 'countdowns',
|
|
component: CountdownListComponent
|
|
},
|
|
{
|
|
path: 'messages',
|
|
component: ProjectorMessageListComponent
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class ProjectorRoutingModule {}
|