Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template not bound to view when generated in subfolder #102

Open
jmorvan opened this issue Nov 7, 2013 · 1 comment
Open

Template not bound to view when generated in subfolder #102

jmorvan opened this issue Nov 7, 2013 · 1 comment

Comments

@jmorvan
Copy link

jmorvan commented Nov 7, 2013

When i do:

 ember --generate -vt Form/Base

A template is generated with the following name "form/base" which prevents the Ember View/Template magic.

in my case I had to manually add the templateName property to my view.

@jmorvan
Copy link
Author

jmorvan commented Nov 20, 2013

What is the reason for
var resourceName = inflector.underscore(resource)
instead of
var resourceName = inflector.camelize(resource, true)

this would solve the above problem no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant