@jnfingerle wrote:
Hi,
I'm writing a route mixin that is supposed to call this.transitionToExternal when used inside an engine and this.transitionTo otherwise. Is there a way to reliably find out if I'm inside an engine?
Currently I'm using Boolean(Ember.getOwner(this).dependencies), but a blessed way would be great.
Cheers,
Jan Niklas
Posts: 1
Participants: 1