Skip to content

Commit a85a56f

Browse files
committed
Respect file name convention #11936
1 parent 85ceab1 commit a85a56f

8 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ export const routes: Routes = [
1212
},
1313
{
1414
path: 'admin',
15-
loadChildren: () => import('./admin/admin-routing.module').then(m => m.routes),
15+
loadChildren: () => import('./admin/admin.routes').then(m => m.routes),
1616
},
1717
{
1818
// Registration
1919
path: 'user',
2020
component: FrontOfficeComponent,
21-
loadChildren: () => import('./user/user-routing.module').then(m => m.routes),
21+
loadChildren: () => import('./user/user.routes').then(m => m.routes),
2222
},
2323
{
2424
path: '',
2525
component: FrontOfficeComponent,
2626
resolve: {viewer: resolveViewer},
27-
loadChildren: () => import('./front-office/front-office-routing.module').then(m => m.routes),
27+
loadChildren: () => import('./front-office/front-office.routes').then(m => m.routes),
2828
},
2929
];

client/app/front-office/front-office-routing.module.ts renamed to client/app/front-office/front-office.routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export const routes: Routes = [
386386
},
387387
{
388388
path: 'mon-compte',
389-
loadChildren: () => import('../profile/profile-routing.module').then(m => m.routes),
389+
loadChildren: () => import('../profile/profile.routes').then(m => m.routes),
390390
},
391391
{
392392
path: 'larevuedurable',
@@ -431,11 +431,11 @@ export const routes: Routes = [
431431
},
432432
{
433433
path: 'larevuedurable',
434-
loadChildren: () => import('./modules/shop/shop-routing.module').then(m => m.routes),
434+
loadChildren: () => import('./modules/shop/shop.routes').then(m => m.routes),
435435
},
436436
{
437437
path: 'panier',
438-
loadChildren: () => import('./modules/cart/cart-routing.module').then(m => m.routes),
438+
loadChildren: () => import('./modules/cart/cart.routes').then(m => m.routes),
439439
},
440440
{
441441
path: 'mentions-legales',

client/app/front-office/modules/cart/cart-routing.module.ts renamed to client/app/front-office/modules/cart/cart.routes.ts

File renamed without changes.

client/app/front-office/modules/shop/shop-routing.module.ts renamed to client/app/front-office/modules/shop/shop.routes.ts

File renamed without changes.
File renamed without changes.

client/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {APP_ID, inject, LOCALE_ID, provideAppInitializer, provideZoneChangeDetection} from '@angular/core';
22
import {AppComponent} from './app/app.component';
3-
import {routes} from './app/app-routing.module';
3+
import {routes} from './app/app.routes';
44
import {bootstrapApplication} from '@angular/platform-browser';
55
import {Apollo} from 'apollo-angular';
66
import {MAT_TOOLTIP_DEFAULT_OPTIONS, MatTooltipDefaultOptions} from '@angular/material/tooltip';

0 commit comments

Comments
 (0)