emberjs/ember-rails — pull request #290 by lxsameer (2013-10-31 09:38:34+00:00)
Title: root path replacement bug in handlebar template_path fixed

The bug occur when 'template_path' method did to replace the content of root variable with blank and emberj resulted template name contains the address too, so 'Ember.TEMPLATES' will have the wrong template name.

NOTE: This bug happens if you use emberjs inside a directoy like 'app/assets/javascript/myengine/'