残り火rc1。ルートに関する命名規則によってビューが自動的にインスタンス化される方法がわかりません。
次のリソースが定義されています。
this.resource('groups', { path : '/groups' }, function() {
this.resource('received', { path : '/received' }, function() {
this.route('show', { path : '/:asset_link_group_id' });
});
ルーターが groups/received/index のビューをインスタンス化するとき、ReceivedIndexView という名前のビューを探します。GroupsReceivedIndexView ではないのはなぜですか?
同じことがコントローラーにも当てはまります。GroupsReceivedIndexController ではなく、ReceivedIndexController を探します。なぜ?