Hello i would like to link all of list elements with specific id. What should i change in my code? Context is added properly, but i can generate site from this template

My code looks like this:

```
<tr th:each="mentor : ${mentorsList}">
    <a th:href="@{'/edit-mentor/' + ${mentor.id}}"/>
        <td th:text="${mentorStat.count}">1</td>
        <td th:text="${mentor.name}">Adam</td>
        <td th:text="${mentor.surname}">Nowak</td>
        <td th:text="${mentor.email}">example@gmail.com</td>
    </a>
</tr>

```

After redirection i would like to get link like /edit-mentor/32