autowp/autowp-frontend

View on GitHub
src/app/mosts/mosts-routing.module.ts

Summary

Maintainability
A
2 hrs
Test Coverage
import {Routes} from '@angular/router';
 
export const routes: Routes = [
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./mosts.component').then((m) => m.MostsComponent),
path: '',
title: $localize`Mostly`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./mosts.component').then((m) => m.MostsComponent),
path: ':rating_catname',
title: $localize`Mostly`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./mosts.component').then((m) => m.MostsComponent),
path: ':rating_catname/:type_catname',
title: $localize`Mostly`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./mosts.component').then((m) => m.MostsComponent),
path: ':rating_catname/:type_catname/:years_catname',
title: $localize`Mostly`,
},
];