diff --git a/modules/@angular/router-deprecated/src/instruction.ts b/modules/@angular/router-deprecated/src/instruction.ts index 7496b7e085..0927be263d 100644 --- a/modules/@angular/router-deprecated/src/instruction.ts +++ b/modules/@angular/router-deprecated/src/instruction.ts @@ -189,7 +189,7 @@ export abstract class Instruction { /** @internal */ _stringifyPathMatrixAux(): string { - if (isBlank(this.component)) { + if (isBlank(this.urlPath)) { return ''; } return this.urlPath + this._stringifyMatrixParams() + this._stringifyAux();