質問編集履歴
1
1行プログラムコードが抜けていたのを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
'/view/:id': 'onShow'
|
19
19
|
},
|
20
20
|
onShow: function ( id ) {
|
21
|
+
var store = this.getViewModel( ).get( 'store' );
|
21
22
|
var record = store.findRecord( 'id', id, 0, false, true, true );
|
22
23
|
if ( ! record ) {
|
23
24
|
this.redirectTo( '/error' )
|