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

19 lines
743 B
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MotionListComponent } from './components/motion-list/motion-list.component';
import { MotionDetailComponent } from './components/motion-detail/motion-detail.component';
import { CategoryListComponent } from './components/category-list/category-list.component';
const routes: Routes = [
{ path: '', component: MotionListComponent },
2018-08-27 09:07:59 +02:00
{ path: 'category', component: CategoryListComponent },
2018-08-21 14:56:26 +02:00
{ path: 'new', component: MotionDetailComponent },
{ path: ':id', component: MotionDetailComponent }
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class MotionsRoutingModule {}