As the title suggests I'm trying to transitionTo a child path from a action. The problem is that Ember says that it can't find any paths with that name. Looking at the Ember docs I've no idea what I'm doing wrong here. I'm hoping someone here might have the expertise to help me out.
Ember Error:
Uncaught Error: Assertion Failed: The route post.comments was not found
Application route definition:
this.resource('juke', { path: 'post/:post_id' }, function () {
this.resource('comments');
});
The transitionTo in the action:
route.transitionTo('post.comments', post_id);
Aucun commentaire:
Enregistrer un commentaire