ember-tools icon indicating copy to clipboard operation
ember-tools copied to clipboard

Scaffold generator incorrectly creates camelCased template file names

Open Steve-OH opened this issue 12 years ago • 0 comments

If a model name passed to the scaffold generator is camel-cased; e.g.:

ember generate -s fooBar name:string value:integer

then the scaffold generator correctly generates foo_bar.js, foo_bar_controller.js, etc. But it incorrectly uses the camel-cased name for the template; e.g., fooBar.hbs rather than the correct foo_bar.hbs.

Steve-OH avatar Aug 06 '13 02:08 Steve-OH