2019-03-08 10:43:54 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
2019-03-08 10:43:54 +01:00
|
|
|
|
2019-07-22 15:46:26 +02:00
|
|
|
import { MotionCommentSectionListComponent } from './components/motion-comment-section-list/motion-comment-section-list.component';
|
|
|
|
import { MotionCommentSectionSortComponent } from './components/motion-comment-section-sort/motion-comment-section-sort.component';
|
2019-03-08 10:43:54 +01:00
|
|
|
|
2019-07-22 15:46:26 +02:00
|
|
|
const routes: Routes = [
|
|
|
|
{ path: '', component: MotionCommentSectionListComponent, pathMatch: 'full' },
|
|
|
|
{ path: 'sort', component: MotionCommentSectionSortComponent }
|
|
|
|
];
|
2019-03-08 10:43:54 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class MotionCommentSectionRoutingModule {}
|