Meteor Passing An Id Into A Link
now my database is working i want the user to click on one of the things in the database to get a more detailed view but the id of the data is not inserted in the link
Solution 1:
You need to have the anchor inside the {{#each}}
<template name="meineEvents">
<ul>
{{#each event}}
<li>{{name}}
<a href="/eventDetails/{{_id}}">mehr Details</a></li>
{{/each}}
</ul>
</template>
Post a Comment for "Meteor Passing An Id Into A Link"