diff --git a/packages/@ember/-internals/glimmer/lib/components/link-to.ts b/packages/@ember/-internals/glimmer/lib/components/link-to.ts index 7973fb716c6..5c7671abe56 100644 --- a/packages/@ember/-internals/glimmer/lib/components/link-to.ts +++ b/packages/@ember/-internals/glimmer/lib/components/link-to.ts @@ -283,7 +283,7 @@ class LinkTo extends InternalComponent { 'You attempted to use the component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the component instead. ' + 'See https://ember-engines.com/docs/links for more info.', - !this.isEngine || this.engineMountPoint !== undefined + this.named('isExternal') ? true : !this.isEngine || this.engineMountPoint !== undefined ); assert( @@ -522,6 +522,8 @@ class LinkTo extends InternalComponent { if (engineMountPoint === undefined) { return route; + } else if (this.named('isExternal')) { + return route; } else if (route === 'application') { return engineMountPoint; } else {