diff --git a/generators/app/templates/src/app/@core/route-reusable-strategy.ts b/generators/app/templates/src/app/@core/route-reusable-strategy.ts index 15e2b08e..d4ea59ac 100644 --- a/generators/app/templates/src/app/@core/route-reusable-strategy.ts +++ b/generators/app/templates/src/app/@core/route-reusable-strategy.ts @@ -23,7 +23,7 @@ export class RouteReusableStrategy extends RouteReuseStrategy { return null; } - public shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean { + public shouldReuseRoute(curr: ActivatedRouteSnapshot, future: ActivatedRouteSnapshot): boolean { // Reuse the route if the RouteConfig is the same, or if both routes use the // same component, because the latter can have different RouteConfigs. return future.routeConfig === curr.routeConfig ||