2019-01-10 15:06:10 +01:00
|
|
|
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';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { CountdownListComponent } from './components/countdown-list/countdown-list.component';
|
2019-02-14 12:29:02 +01:00
|
|
|
import { ProjectorMessageListComponent } from './components/projector-message-list/projector-message-list.component';
|
2019-01-10 15:06:10 +01:00
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
{
|
2019-01-24 16:25:50 +01:00
|
|
|
path: '',
|
2019-03-08 10:43:54 +01:00
|
|
|
component: ProjectorListComponent,
|
|
|
|
pathMatch: 'full'
|
2019-01-10 15:06:10 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'detail/:id',
|
|
|
|
component: ProjectorDetailComponent
|
2019-01-31 13:40:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'countdowns',
|
|
|
|
component: CountdownListComponent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'messages',
|
|
|
|
component: ProjectorMessageListComponent
|
2019-01-10 15:06:10 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class ProjectorRoutingModule {}
|