dimanche 22 mars 2015

How to transition without changing the url in ember 1.11

I have a situation where the back button actually causes harm in my application and I seem to remember a solution in ember where I could have a single link-to helper not update the url (but keeping the routes /link-to helpers for other routes working as usual).


Is this still an option/possible in ember 1.11? If so - how? If no - what other options do I have if I need to prevent a single link-to from allowing the user to go back?



{{#link-to "foo.bar" bar}}details{{/link-to}}




Aucun commentaire:

Enregistrer un commentaire