Uncaught TypeError: Cannot read property 'name' of undefined


#1
Uncaught TypeError: Cannot read property 'name' of undefined vendor.js:56095
Router.isActiveIntent vendor.js:56095
Router.isActive vendor.js:56136
EmberObject.extend.isActive vendor.js:36486
computeLinkViewActive vendor.js:31423
ComputedPropertyPrototype.get vendor.js:24108
get vendor.js:28721
CoreView.extend._classStringForProperty vendor.js:53089
(anonymous function) vendor.js:52974
forEach vendor.js:25356
CoreView.extend._applyClassNameBindings vendor.js:52937
CoreView.extend.applyAttributesToBuffer vendor.js:53508
CoreView.extend.beforeRender vendor.js:53495
EmberObject.extend._renderToBuffer vendor.js:51290
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
merge.appendChild vendor.js:51646
CoreView.extend.appendChild vendor.js:53679
EmberObject.create.helper vendor.js:21462
viewHelper vendor.js:21644
linkToHelper vendor.js:31961
program2 todo-ember/templates/searchdetail.js:33
prog vendor.js:9754
CoreView.extend.render vendor.js:52878
EmberObject.extend._renderToBuffer vendor.js:51291
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
merge.appendChild vendor.js:51646
CoreView.extend.appendChild vendor.js:53679
EmberObject.create.helper vendor.js:21462
viewHelper vendor.js:21644
program1 todo-ember/templates/searchdetail.js:15
prog vendor.js:9754
CoreView.extend.render vendor.js:52878
EmberObject.extend._renderToBuffer vendor.js:51291
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
merge.appendChild vendor.js:51646
CoreView.extend.appendChild vendor.js:53679
EmberObject.create.helper vendor.js:21462
viewHelper vendor.js:21644
anonymous todo-ember/templates/searchdetail.js:38
(anonymous function) vendor.js:9722
CoreView.extend.render vendor.js:52878
EmberObject.extend._renderToBuffer vendor.js:51291
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
(anonymous function) vendor.js:50996
CoreView.extend.forEachChildView vendor.js:53154
View.extend.render vendor.js:50995
apply vendor.js:30413
superWrapper vendor.js:29991
EmberObject.extend._renderToBuffer vendor.js:51291
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
merge.appendChild vendor.js:51646
CoreView.extend.appendChild vendor.js:53679
EmberObject.create.helper vendor.js:21462
viewHelper vendor.js:21644
outletHelper vendor.js:32166
_triageMustacheHelper vendor.js:19413
anonymous todo-ember/templates/application.js:14
(anonymous function) vendor.js:9722
CoreView.extend.render vendor.js:52878
EmberObject.extend._renderToBuffer vendor.js:51291
apply vendor.js:30413
superFunction vendor.js:27081
CoreView.extend._renderToBuffer vendor.js:53484
apply vendor.js:30413
superWrapper vendor.js:29991
instrumentRenderToBuffer vendor.js:51272
instrument vendor.js:26209
EmberObject.extend.renderToBuffer vendor.js:51271
CoreView.extend.createElement vendor.js:53317
merge.insertElement vendor.js:51769
CoreView.extend._insertElement vendor.js:53245
DeferredActionQueues.invoke vendor.js:12665
DeferredActionQueues.flush vendor.js:12717
Backburner.end vendor.js:12180
Backburner.run vendor.js:12235
apply vendor.js:30414
run vendor.js:29032
runInitialize vendor.js:14472
fire vendor.js:3168**strong text**
self.fireWith vendor.js:3280
jQuery.extend.ready vendor.js:3486
completed

Hi I got this error when i write link-to for routing

this.resource('relmgmt',function(){
  this.route('customerdetails', { path: 'customerdetails/:customerdetails_id'});
});

and this is my link-to code

{{link-to 'Edit' 'relmgmt.customerdetails' model.custId  replace=true}}

Please help me ASAP

when i load this page that time i got this error on link-to.