summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-23 13:27:45 +0200
committerTor Andersson <tor@ccxvii.net>2024-07-23 13:47:44 +0200
commit4ef9dd7d665248e308024e75c0921aabe646d07a (patch)
tree9e515f60c0a34293a7928445b93ebcf0d686e54a /views/head.pug
parentdceb43dd125d4dd53056f0c8b398451e181b5cd5 (diff)
downloadserver-4ef9dd7d665248e308024e75c0921aabe646d07a.tar.gz
rename some api links
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug
index d8a8ad6..3deb614 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -36,7 +36,7 @@ mixin forumpost(row,show_buttons)
if show_buttons && user
.edit
if user.user_id === 1
- | #[a(href="/admin/delete-post/"+row.post_id) DELETE]
+ | #[a(href="/forum/delete-post/"+row.post_id) DELETE]
|
if row.author_id === user.user_id
| #[a(href="/forum/edit/"+row.post_id) Edit]