Q:

Issue making dynamic segment available to nested route in Ember.js

I'm having an issue making a nested route available in Ember.js
App.Router.map(function() {
    this.resource('home', { path: '/' });
    this.resource('form', { path: '/forms/:form_id' }, function() {
        this.route('newRecord');
    });

I have the parent route...
App.FormRoute = Ember.Route.extend({....

Which is working.
Next I have...
App.FormNewRecordRoute = Ember.Route.extend({
    afterModel: function() {
            this.set('newRecord', this.modelFor('form');
     }
});

Normally I get the URL with something like localhost/forms/9087
With the child route I'm getting localhost/undefined/newRecord

A:

I'm guessing that 'localhost/undefined/newRecord' is coming from something like {{#link-to 'newRecord'}}.  It should probably be {{#link-to 'form.newRecord'}}.

