I have on my page a list of clients (only names) and when I click on each one of them, I want to open a new page called 'clientdetails' in which I get the details of the client besides its name (I have an address and an age) ;
What I have so far is something like this :
{{#each model as |client|}}
<p> {{#link-to "clientdetails"}} {{client.name}} {{/link-to}}
</p>
{{/each}}
How should I pass client.address and client.age to clientdetails and display them accordingly in the clientdetails page?
Thank you.