presenter function base
This commit is contained in:
28
src/app/modules/presentation/presentation-routing.module.ts
Normal file
28
src/app/modules/presentation/presentation-routing.module.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {RemoteComponent} from './remote/remote.component';
|
||||
import {MonitorComponent} from './monitor/monitor.component';
|
||||
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
pathMatch: 'full',
|
||||
redirectTo: 'remote'
|
||||
},
|
||||
{
|
||||
path: 'remote',
|
||||
component: RemoteComponent
|
||||
},
|
||||
{
|
||||
path: 'monitor/:showId',
|
||||
component: MonitorComponent
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class PresentationRoutingModule {
|
||||
}
|
||||
Reference in New Issue
Block a user