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

templateName does not resolve when in pod structure #45

Closed
DougPuchalski opened this issue May 7, 2014 · 8 comments
Closed

templateName does not resolve when in pod structure #45

DougPuchalski opened this issue May 7, 2014 · 8 comments

Comments

@DougPuchalski
Copy link

For the following

/app/pods/posts
  view.js
  mytemplate.hbs

Setting the PostsView#templateName neither to posts/mytemplate or mytemplate does not resolve. It is resolved if it's moved into /app/templates/posts/mytemplate.

Is this a known issue?

I can generate a test app if necessary.

@stefanpenner
Copy link
Contributor

test please

@DougPuchalski
Copy link
Author

@DougPuchalski
Copy link
Author

This change allows my templates to resolve.

In general, the pod structure is a huge win, but I would really also like to be able to resolve using filenames as well as typed filenames as some others.

Can you comment whether this makes or doesn't make sense?

@kanongil
Copy link

This issue also applies when using layoutName to apply a layout template.

@rwjblue
Copy link
Member

rwjblue commented Jul 30, 2014

I do not think this is actually a bug, but I could be wrong. Can you provide more details about what you have specified as the layoutName and what the paths on disk are?

@DougPuchalski
Copy link
Author

Reason for closing?

@stefanpenner
Copy link
Contributor

I do not think this is actually a bug, but I could be wrong. Can you provide more details about what you have specified as the layoutName and what the paths on disk are?

has gone stale

@DougPuchalski
Copy link
Author

No argument against closing, but not sure if original issue is still relevant or not (I've long worked around it.) Just noting for the record that quoted comment was not necessarily related to original issue and test case.

kratiahuja pushed a commit to kratiahuja/ember-resolver that referenced this issue Aug 5, 2016
Added .jshintrc, .jscsrc, .editorconfig
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

4 participants