Ember #link-到嵌套路由

Ember #link-to nested routes

我正在从模板调用 link-to 语句 路由定义如下,

/app/router.js

Router.map.function(){
    this.route('profiles');
    this.route('exam', function(){
        this.route('create');
        this.route('evaluate');
    });

/app/templates/profiles.hbs

{{#link-to "exam/create"}}
   <p> Create an Exam </p>
{{/link-to}}
{{#link-to "exam/evaluate"}}
   <p> Evaluate Exam </p>
{{/link-to}}

不确定你是否有错误,但你的路径语法有点不对

{{#link-to "exam.create"}}
   <p> Create an Exam </p>
{{/link-to}}
{{#link-to "exam.evaluate"}}
   <p> Evaluate Exam </p>
{{/link-to}}

应该使用.而不是/