vendredi 31 mars 2017

Ember link-to not working when not passed a model

I have a template at the level just below the application route in my Ember application which contains a navbar with three tabs that should go to three sub routes. The link tos are set up like so:

Route name

If you right click on the links, they work, but left clicking on them does not take you to the page. Nothing happens and no error. If you hard code a model id into the link like so it works:

Route name

But passing a model name in place of the hard-coded id does not work, it merely adds a # to the end of the URL. How can I make this work?




Aucun commentaire:

Enregistrer un commentaire