lundi 8 février 2016

ember: how to convert anchor tag with href to link-to?

In our ember application, am having some strange requirement.

From the api, am receiving the message which has link to some other page in the same application.

For ex: "offers/1/checkout"

The message am receiving is:

"Thanks for the reply. <a href='offers/1/checkout'>Click here</a> to proceed further"

Now when we use above message, display it in template, and when User click on the Click Here link, the whole app reloads.

Is there any way to stop that reload of app? or can we convert simple href to link using link-to helper?

Thanks




Aucun commentaire:

Enregistrer un commentaire