lundi 28 septembre 2015

Ember.js: Internal hyperlinks when pulling from a database

My database sometimes contains hyperlinks (regular HTML "a" tags) to other routes within my Ember.js application. The issue is that I do not know how to have it so those links will be transitioned within Ember instead of having to reload the page. Is there any way to get around this issue?

Example: I have product (/products/name) content being pulled from my Rails backend. This content contains a link to contacts (/contact). Clicking on that link will force an app reload instead of doing an Ember transition. Is there a way to force the link to be handled within Ember?




Aucun commentaire:

Enregistrer un commentaire