samedi 28 janvier 2017

Ember assets broken in nested route template

I created a nested route under an existing route.

Router.map(function(){
 this.route('parentRoute', function(){
    this.route('childRoute');
  });
});

Prior to the nesting, I had the newly nested route as a sibling to the now parent route. At the time, I was able to load assets using the normal method

<img src="assets/images/profile/pic.svg" alt="" />

But after creating the nested route, putting the above in the nested route's template is giving me a 400 file not found error.

Any suggestions?




Aucun commentaire:

Enregistrer un commentaire