fix: replaced post name with its id in URLs

This commit is contained in:
Florian Sylvain
2024-06-12 16:23:33 +02:00
parent 46b816a8af
commit eb98a1003e
4 changed files with 17 additions and 14 deletions
@@ -39,7 +39,7 @@
<td class="date">{{ $post.CreatedAt }}</td>
<td class="date">{{ $post.UpdatedAt }}</td>
<td>
<a href="/post/{{ $post.Title }}/edit" class="btn btn-secondary btn-sm">
<a href="/post/{{ $post.ID }}/edit" class="btn btn-secondary btn-sm">
<svg width="12px" height="12px" fill="currentColor">
<use xlink:href="/static/bootstrap-icons.svg#pen"/>
</svg>