autowp/autowp-frontend

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

Summary

Maintainability
A
3 hrs
Test Coverage
import {Routes} from '@angular/router';
 
export const routes: Routes = [
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./new.component').then((m) => m.NewComponent),
path: ':date',
title: $localize`New pictures`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./new.component').then((m) => m.NewComponent),
path: ':date/:page',
title: $localize`New pictures`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./item/item.component').then((m) => m.NewItemComponent),
path: ':date/item/:item_id',
title: $localize`New pictures`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./item/item.component').then((m) => m.NewItemComponent),
path: ':date/item/:item_id/:page',
title: $localize`New pictures`,
},
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./new.component').then((m) => m.NewComponent),
path: '',
title: $localize`New pictures`,
},
];