Hello everyone,
I come back to you for a new problem .
I want to find an occurrence in my database with the url parameter.
When I do this:
let param = 327;
return Depart.find({"numero_arret" : param});
It works, but when I do that:
let paramUrl = Router.current().params.arret;
return Depart.find({"numero_arret" : paramUrl });
It doesn’t work, I can’t understand why, what should I do (all from my template) ?
Thanks for your help!