lundi 6 avril 2020

You attempted to generate a link for the route, but did not pass the models required for generating its dynamic segments

I am in the process of upgrading an Ember app to 3.16 LTS.

I get this console error:

You attempted to generate a link for the "forgot-password" route, but did not pass the models required for generating its dynamic segments.

The link in the template is:

<LinkTo @route="forgot-password">Forgot Password</LinkTo>

In the router it is defined as:

this.route('forgot-password');

As you can see, it does not have any dynamic segments to pass in a model for. How do I fix this?




Aucun commentaire:

Enregistrer un commentaire