Ember.js 链接到余烬更新后不工作

Ember.js 链接到余烬更新后不工作,ember.js,handlebars.js,Ember.js,Handlebars.js,在更新应用程序包(Ember从rc6升级到1.0.0,Handlebar从rc4升级到1.0.0,jquery从1.9.1升级到2.0.3)后,所有我的linkTo助手都停止工作; 如果单击某个链接,我会收到以下警告: This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided ro

在更新应用程序包(Ember从rc6升级到1.0.0,Handlebar从rc4升级到1.0.0,jquery从1.9.1升级到2.0.3)后,所有我的linkTo助手都停止工作; 如果单击某个链接,我会收到以下警告:

This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid. 
其他一切似乎都很好;有人能解释一下吗

这是我的路由器:

this.resource('eng', function(){
    this.route('home');
    this.route('aboutUs', {path: 'about-us'});
    this.route('newsArchive', {path: 'news-archive'});
    this.route('mattressesAreas', {path: 'mattresses-areas'});
    this.resource('eng.rent', {path: 'rent' }, function(){
        this.route('boulderSmall', {path: 'boulder-small'});
        this.route('boulderXl', {path: 'boulder-xl'});
        this.route('leadClimbing', {path: 'lead-climbing'});
        this.route('speedClimbing', {path: 'speed-climbing'});
        this.route('leadClimbingTurret', {path: 'lead-climbing-turret'});
        this.route('mattresses', {path: 'mattresses'});
    });
    this.resource('eng.factory', {path: 'factory'}, function(){
        this.route('panelType', {path: 'panel-type'});
        this.route('exteriorFinishing', {path: 'exterior-finishing'});
        this.route('buildingSystem', {path: 'building-system'});
        this.route('design');
    });
    this.resource('eng.holds', {path: 'holds'}, function(){
        this.route('importClimbingVolumes', {path: 'import-climbing-volumes'});
    });
    this.resource('eng.team', {path: 'team'}, function(){
        this.route('alePenna', {path: 'ale-penna'});
    });
    this.resource('eng.photoGallery', {path: 'photo-gallery'}, function(){
        this.route('evolutionClimbing', {path: 'evolution-climbing'});
        this.route('pragelatoBoulder', {path: 'pragelato-boulder'});
    });
    this.route('contacts');
    //error catch all
    this.route('404', { path: '*:' });

});
这是我的链接示例:

{{#linkTo eng.aboutUs class="nav ck_0"}}About us{{/linkTo}}

是的,最后我发现我只需要在linkTo helper中的引号之间写入路由名称,如下所示:

{{#linkTo 'eng.aboutUs' class="nav ck_0"}}About us{{/linkTo}}

我不知道为什么以前在没有引号的情况下工作,现在不,可能在最新的余烬中发生了更改…

链接到帮助程序现在已不推荐使用,您应该使用链接来避免将来的问题


例如,
{{{#链接到'post'post}}查看post{{/link to}

好的,你能解释一下旧链接到帮助者和新链接到帮助者之间的区别吗?据我从源代码中看到的,它们的工作方式完全相同。我猜它只是为了命名约定而重命名的。我必须按如下方式编写我的助手:{{{#link to'post}}查看post{{/link to}