Skip to content

Proper ember template paths #155

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

Merged
merged 1 commit into from
Aug 7, 2014
Merged

Conversation

Mileshosky
Copy link
Contributor

I believe this should fix the Ember template issue found in the second screenshot here (https://assembly.com/coderwall/wips/318).

In production, ember templates are stored at Ember.TEMPLATES. Using console, and executing:
Ember.TEMPLATES["ember/templates/events/view"] -> undefined
Ember.TEMPLATES["events/view"] -> function (n,i){return i=i||{},t.call(r,e,n,i.helpers,i.partials,i.data)}

This is a bit hairy at the moment to test properly on a local server. Requires running rails in production mode, which is not a simple matter. Having at least a staging application running a production environment would be helpful for work like this and to just have a general sanity/review process for deployment.

just3ws added a commit that referenced this pull request Aug 7, 2014
Proper ember template paths
@just3ws just3ws merged commit 9c5f5f4 into coderwall:master Aug 7, 2014
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

Successfully merging this pull request may close these issues.

2 participants