Whenever I try to load my Rails ember app, I encounter a frustrating issue where Ember is unable to locate the application and index templates.
Ember.TEMPLATES['application] and Ember.TEMPLATES['index']
Oddly enough, when I check Ember.TEMPLATES in the console, it shows all the templates as 'app/application' and 'app/index'.
It seems that Ember is searching for /application.hbs but can't find it because the templates are actually listed under app/application. The file structure of the app directory is as follows:
assets -> javascripts -> app -> templates -> application.hbs and index.hbs
This means their direct parent is not 'app/'
Has anyone encountered this issue before and knows how to resolve it?
Thanks a lot!