Nested resources issue on template names


#1

Hello, does anyone noted that ember doesn’t generate the template names for nested resources in the way the documentation is defined?(http://emberjs.com/guides/routing/defining-your-routes/#toc_nested-resources)

for example:

App.Router.map(function() {
  this.resource('foo', function() {
    this.resource('foo.bar', { path: '/bar' }, function() {
      this.route('baz'); // This will be foo.bar.baz
     });
  });
});

according to documentation, ember should look into templates named:

/foo
/foo/bar
/foo/bar/baz

But instead, it autogenerate names like:

/foo
/foo/bar
/foo/bar.baz

I’m using

DEBUG: Ember      : 1.5.1 ember.js:3521
DEBUG: Ember Data : 1.0.0-beta.7+canary.ab589b32 ember.js:3521
DEBUG: Handlebars : 1.3.0 ember.js:3521
DEBUG: jQuery     : 1.10.2 

With Symfony2 and Assetics handlebars Filter, wich uses handlebars node binary to precompile hbs to js. It generates the right names, as documentation defines.

Is is any workaround? Is this a bug? because I thing it been since a long time like this…

Cheers.

PD: Excuse my bad english…