mardi 12 avril 2016

Ember nested global routes (Wildcard)

I'm trying to do something like this in my routes:

this.route('products', { path: "/products/*choises"}, function() {
 this.route('promotion', {path: "/promotion/*offers"});
}); 

The problem is that it doesn't matter the promotion that I visit, the app thinks is part of the products route. How can I do this? I need them to be nested.




Aucun commentaire:

Enregistrer un commentaire