@_Kalai wrote:
Hi, I’m using Ember Engines. How to make a transition to external route from inside the component? Currently router instance 'Ember.getOwner(this).lookup(‘router:main’) ’ seems it doesn’t have transitionToExternal function.
Looked into the discussion ‘https://github.com/ember-engines/ember-engines/issues/260’ but not helpful.
Edit: the workaround, as suggested in above link like getting external route using ‘_getExternalRoute’ function of router service and then using the ‘transitionTo’ function of router service, is working fine. kindly post if any other solutions are available.
Posts: 2
Participants: 2