2019-03-08 10:43:54 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
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 {}
|