vendredi 12 juin 2015

Breadcrumbs for non-nested routes in Ember.js

Most of the ember addons that enable breadcrumbs in Ember use the currentPath property. How would I be able to tell where the user came from if I am not using nested routes? I would like to have breadcrumbs in my app, but am unsure if it is possible to do without nesting my resources. The reason that I did not nest them to begin with is because I read this article. Now I am starting to think that it was a bad idea. Anyone have any insight as to whether this is possible? Do I have to nest my resources to get the breadcrumb functionality that I am looking for? Any help is greatly appreciated. Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire