Fix routing for podcasts
This commit is contained in:
Родитель
ab165a1e59
Коммит
da61ea5a36
|
@ -8,13 +8,12 @@ var Router = Ember.Router.extend({
|
|||
Router.map(function() {
|
||||
this.route('search');
|
||||
|
||||
this.resource('podcasts', function() {
|
||||
this.resource('podcasts', { path: '/podcasts' }, function() {
|
||||
this.route('new');
|
||||
});
|
||||
|
||||
this.resource('podcast', { path: '/podcast/:podcast_id'});
|
||||
this.resource('episode', { path: '/episode/:episode_id' });
|
||||
this.route('podcast');
|
||||
});
|
||||
|
||||
export default Router;
|
||||
|
|
Загрузка…
Ссылка в новой задаче