I would like a route to be called in 3 different ways:
this.route('issue', {path: '/foo/:param1'});
this.route('issue', {path: '/foo/:param1/:param2'});
this.route('issue', {path: '/foo/:param1/:param2/:param3'});
But when I try to link-to for example using:
{{#link-to 'issue' issue.id issue.tag}}{{/link-to}}
I get this error:
Error: You didn't provide enough string/numeric parameters
to satisfy all of the dynamic segments for route issue
I tried to change the order of the calls in the router, without success. I think I'm lacking some comprehension on how the routes are detected. Any ideas?
Aucun commentaire:
Enregistrer un commentaire