This is my router.js:
Router.map(function() {
this.resource('articles', function() {
this.route('article', { path: ':article_id' });
});
});
When I transition from route
articles/1toarticles/2thenarticles.loadingroute is displayed.articles.indextoarticles.index, alsoarticles.loadingroute is displayed.
I need to seperate these loading routes, so when I transition from
articles/1toarticles/2,articles.article.loadingroute should be displayed.articles.indextoarticles.index,articles.loadingroute should be displayed.
Using ember-cli: ember g route articles.loading generates the articles.loading route.
I tried ember g route articles.article.loading, but it doesn't work.
Aucun commentaire:
Enregistrer un commentaire